Skip to content

Commit

Permalink
Merge pull request scala#9281 from dwijnand/travis-fatal-errors
Browse files Browse the repository at this point in the history
Travis CI: make a command error fatal
  • Loading branch information
dwijnand committed Nov 2, 2020
2 parents 7ef5a60 + f86da35 commit 65fa331
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
name: bootstrap and publishLocal
if: type = pull_request OR repo != scala/scala
script:
- set -e
- sbt -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testOsgi
Expand All @@ -56,6 +57,7 @@ jobs:
workspaces:
use: published-local
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll1
- sbt -Dscala.build.compileWithDotty=true library/compile
Expand All @@ -65,6 +67,7 @@ jobs:
workspaces:
use: published-local
script:
- set -e
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
- sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll2

Expand Down

0 comments on commit 65fa331

Please sign in to comment.