From cb887180f249f826165f0e0f0ceff26690d7eea2 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Wed, 6 Feb 2019 22:30:27 +0100 Subject: [PATCH] Run the tests on CircleCI --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89ff50941..79f318f20 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,14 +26,16 @@ jobs: command: | mkdir -p release cd release - env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake .. + env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -Werror=dev -DDOWNLOAD_GTEST=ON .. make everything + make run_tests ./teeworlds_srv shutdown - run: name: Build teeworlds with cmake in Debug mode command: | mkdir -p debug cd debug - env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDEV=ON .. + env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -Werror=dev -DDOWNLOAD_GTEST=ON -DDEV=ON .. make everything + make run_tests ./teeworlds_srv shutdown