PSF-BotServer/.travis.yml
pschord ae7f8bf71d Enable quiet tests using SBT config (#318)
* Enable quiet tests using SBT config

* Add logback-test.xml config to reduce log messages

* Hide "resolving" messages in CI environment

* Improve ScalaTest options to reduce SuiteStart events

* Hide EVEN MORE Specs2 output
2020-01-08 08:33:25 -05:00

32 lines
784 B
YAML

language: scala
jdk: oraclejdk8
dist: trusty
scala:
- 2.11.8
env:
- SBT_COMMAND="test:compile quiet:test packArchiveZip"
- SBT_COMMAND="coverage test:compile quiet:test coverageReport"
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
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 $SBT_COMMAND
after_success:
- bash <(curl -s https://codecov.io/bash)
addons:
artifacts:
paths:
- $(ls target/pslogin*.zip | tr "\n" ":")