mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 07:24:53 +00:00
TravisCI: temporary build matrix fix to avoid #279
Reference: https://docs.travis-ci.com/user/customizing-the-build/#build-matrix
This commit is contained in:
parent
6a876d5b57
commit
4b71d76cb2
1 changed files with 14 additions and 3 deletions
17
.travis.yml
17
.travis.yml
|
|
@ -1,8 +1,18 @@
|
||||||
language: scala
|
language: scala
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
dist: trusty
|
dist: trusty
|
||||||
scala:
|
matrix:
|
||||||
- 2.11.8
|
include:
|
||||||
|
- name: "PSForever Tests"
|
||||||
|
scala: 2.11.8
|
||||||
|
env: SBT_COMMAND="test:compile test"
|
||||||
|
- name: "PSForever Test Coverage"
|
||||||
|
scala: 2.11.8
|
||||||
|
env: SBT_COMMAND="coverage test:compile test coverageReport" ALLOW_FAIL=1
|
||||||
|
allow_failures:
|
||||||
|
- env: ALLOW_FAIL=1
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.ivy2/cache
|
- $HOME/.ivy2/cache
|
||||||
|
|
@ -11,10 +21,11 @@ before_cache:
|
||||||
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
|
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
|
||||||
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
|
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
|
||||||
- find $HOME/.sbt -name "*.lock" -print -delete
|
- find $HOME/.sbt -name "*.lock" -print -delete
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip
|
- wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip
|
||||||
- unzip pscrypto-lib-1.1.zip
|
- unzip pscrypto-lib-1.1.zip
|
||||||
script:
|
script:
|
||||||
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test:compile test coverageReport
|
- sbt ++$TRAVIS_SCALA_VERSION $SBT_COMMAND
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue