TravisCI: Compile everything before testing

This should allow TravisCI builds to fail-fast on any compilation errors instead of wasting time testing on an already failed build (see https://travis-ci.org/psforever/PSF-LoginServer/builds/596611848)
This commit is contained in:
pschord 2019-10-11 10:00:37 -04:00 committed by GitHub
parent 833b7b1f0a
commit 1f744f5a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,6 @@ before_script:
- wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip
- unzip pscrypto-lib-1.1.zip
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test:compile test coverageReport
after_success:
- bash <(curl -s https://codecov.io/bash)