From 1af09723dc0a1640b51b713bb2e589d9a37290f3 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 12 May 2016 11:33:01 +0200 Subject: Run the newly implemented self-test on travis so that test-coverage on coveralls will be improved. Build directories are now excluded from coveralls since they produce false positives. For now the self-test is only run in the coverage section but should eventually be a part the 'make check' tests as well. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7761baad..12d4679f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -98,12 +98,14 @@ install: - make -j3 - make check - mv src/.libs/*.gc* src + - ./proj -VC script: - echo "done" after_success: - - coveralls --extension .c +# coveralls falsely reports .c-files in the build directories as having 100% coverage so we exclude them + - coveralls --extension .c --exclude build_autoconf --exclude build_cmake - echo "$TRAVIS_SECURE_ENV_VARS" - sh -c "./travis/build_docs.sh" - sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "master"; then echo "publish website"; ./travis/add_deploy_key.sh; ./travis/deploy_website.sh $TRAVIS_BUILD_DIR/docs/build /tmp; fi' -- cgit v1.2.3