travis: Move os declarations earlier

pull/1440/head
Turo Lamminen 2017-09-16 15:22:37 +03:00
parent a77cbcf096
commit 5478d4d4c7
1 changed files with 4 additions and 3 deletions

View File

@ -20,6 +20,10 @@ branches:
only:
- master
os:
- linux
- osx
osx_image: xcode8.3
env:
@ -50,9 +54,6 @@ script:
- export COVERALLS_SERVICE_NAME=travis-ci
- export COVERALLS_REPO_TOKEN=abc12345
- . ./.travis.sh
os:
- linux
- osx
after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd ${TRAVIS_BUILD_DIR} && lcov --directory . --capture --output-file coverage.info && lcov --remove coverage.info '/usr/*' 'contrib/*' 'test/*' --output-file coverage.info && lcov --list coverage.info && coveralls-lcov --source-encoding=ISO-8859-1 --repo-token=${COVERALLS_TOKEN} coverage.info ; fi