From 1f744f5a5f4cf19378717e6c49ac682688ef844b Mon Sep 17 00:00:00 2001 From: pschord Date: Fri, 11 Oct 2019 10:00:37 -0400 Subject: [PATCH] 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) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 039e080d..242e43b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)