-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
45 lines (36 loc) · 1.68 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: scala
sudo: required
services:
- docker
git:
depth: 9999
scala:
- 2.11.8
jdk:
- oraclejdk8
env:
global:
- secure: "G6KEYmXDMG4P46MDhJDQNj7eepuBNMRtb3uS/klfemWeGFZgZopUlHu8PW4dwCOL8tF153Tdkn25QbpYGrpbeZQuVLd5NmLJg9uEYUM8iKqeHo3YG8HTUxM+1l8EwZRM7AiaL+RYxmp4sSiIHTl8NRwSA9QZkJSS/KUoqg7n68i1qLP3a+8gHUd7UTFUHj8eiPmWfNefMSpBMi2Dspa45S3EVszUp2KUHpm3m/7i5QINtjRpJegJ4C6nYesEHSJGJDfOx44iooRDirGRJyTJWNsqLIYTp+S8uiYEuuwXagDl41Ig5tewifEGd83oB+ugUOBqFbksnwhY8ioYdhmjb0P6XzNhUWm1IGSdrOWwy/9GKvKAbZbNaEFTvYq5F4xC9HnMFJWEf5P9RdZhW7XT+ehtiQCVB3UKDMOtQgwmV3+7/md5VQXPJiERWJmnOhRoVkOB6H4s95yWmqpmCRoKBf4pJtFCdDLfHLxk5ZdGZGNIagRFbZs2Lah5Dx7ZG+h6lXpEOQ8LfHMc0lzlE0F+6JWAgWvEerRHrpjOqmDSMbbC8lotHmVkq/jDRZzrx5Mvnytxf4lwP8Ax1RR62IYKouA3YYmPWgwU+O/uq9lr3sHiybKX+6Jt2CXI7/gQ2eVl3uHXIh4LYfficdCsOF17F3+EQNeAnququGCHKow9nvU="
cache:
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.nvm
script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test integration:test coverageReport
- sbt ++$TRAVIS_SCALA_VERSION docs/tut
- sbt ++$TRAVIS_SCALA_VERSION stressFrontend/compile stressGatling/gatling:compile
- sbt ++$TRAVIS_SCALA_VERSION "stressFrontend/run" &
- sbt ++$TRAVIS_SCALA_VERSION "stressBackend/run 8888" &
- sbt ++$TRAVIS_SCALA_VERSION "stressBackend/run 8889" &
- sleep 10 #make sure cluster starts
- sbt ++$TRAVIS_SCALA_VERSION stress
after_success:
- sbt ++$TRAVIS_SCALA_VERSION coverageAggregate coveralls
before_cache:
- du -h -d 1 $HOME/.ivy2/cache
- du -h -d 2 $HOME/.sbt/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete