From 9ab5df4231b644ccbe57e536cdd8008b4277de51 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Fri, 4 Jan 2019 01:50:15 -0800 Subject: [PATCH] Updated Travis CI. --- .travis.yml | 5 +---- graphs.hpp | 1 + tables.cpp | 1 - tables.hpp | 1 + 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 99bf0a8..42cbaaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,4 @@ language: cpp -compiler: - - clang - - gcc matrix: include: - os: linux @@ -20,4 +17,4 @@ script: - ./clang_tables - clang++ -Wall -g -fsanitize=address graphs.cpp -o clang_graphs - ./clang_graphs - - cppcheck --error-exitcode=1 . + - cppcheck --enable=all --error-exitcode=1 . diff --git a/graphs.hpp b/graphs.hpp index c35dbef..084078a 100644 --- a/graphs.hpp +++ b/graphs.hpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include diff --git a/tables.cpp b/tables.cpp index 48a69d2..960f1b6 100644 --- a/tables.cpp +++ b/tables.cpp @@ -5,7 +5,6 @@ // Run: ./tables #include -// #include #include #include #include "tables.hpp" diff --git a/tables.hpp b/tables.hpp index 92e1056..490bf30 100644 --- a/tables.hpp +++ b/tables.hpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include