travis: COVERALLS_SERVICE_NAME needs to be set before cmake is called

This commit is contained in:
Joshua Scott 2018-10-20 19:19:33 +01:00
parent 11e4f25b85
commit 0b57334ba3
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,7 @@ script:
- rm -rf build/
- mkdir build
- cd build
- export COVERALLS_SERVICE_NAME=travis-ci
- cmake -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
- make
@ -32,5 +33,4 @@ script:
- make test CTEST_OUTPUT_ON_FAILURE=TRUE
# Coverage
- export COVERALLS_SERVICE_NAME=travis-ci
- make coveralls