forked from RBMHTechnology/eventuate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 881 Bytes
/
.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
sudo:
false
language:
- scala
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_install:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then ./deploy.prep; fi
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then eval `ssh-agent`; fi
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then ssh-add deploy; fi
before_script:
- pip install --user sphinx
- pip install --user sphinx_rtd_theme
script:
- .travis/test.sh ++$TRAVIS_SCALA_VERSION
- .travis/test-it.sh ++$TRAVIS_SCALA_VERSION
- .travis/test-multi.sh ++$TRAVIS_SCALA_VERSION
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
after_success:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then sbt ++$TRAVIS_SCALA_VERSION publish ghpagesPushSite; fi
scala:
- 2.11.4
jdk:
- oraclejdk8