diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2016-05-12 11:33:01 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2016-05-12 11:33:01 +0200 |
| commit | 1af09723dc0a1640b51b713bb2e589d9a37290f3 (patch) | |
| tree | 53e0a00b75610c56c6db46b8bdb99d6e0ade484d /.travis.yml | |
| parent | ce770da81158f6177e841a725f3a6ad71433e7c8 (diff) | |
| download | PROJ-1af09723dc0a1640b51b713bb2e589d9a37290f3.tar.gz PROJ-1af09723dc0a1640b51b713bb2e589d9a37290f3.zip | |
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.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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' |
