-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
54 lines (46 loc) · 1.21 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
46
47
48
49
50
51
52
53
54
language: scala
scala:
- 2.11.11
- 2.12.4
jdk:
- oraclejdk8
before_cache:
- du -h -d 1 $HOME/.ivy2/
- du -h -d 2 $HOME/.sbt/
- du -h -d 4 $HOME/.coursier/
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
directories:
- $HOME/.sbt/cache
- $HOME/.sbt/0.13
- $HOME/.sbt/boot/
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
- $HOME/.ivy2
before_install:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
openssl aes-256-cbc -K $encrypted_8a5c922406f1_key -iv $encrypted_8a5c922406f1_iv -in secring.gpg.enc -out secring.gpg -d;
fi
- export PATH=${PATH}:./vendor/bundle
install:
- rvm use 2.2.3 --install --fuzzy
- gem update --system
- gem install ruby_dep -v 1.3.1
- gem install sass
- gem install jekyll -v 3.4.3
script:
- sbt ++$TRAVIS_SCALA_VERSION orgScriptCI
after_success:
- bash <(curl -s https://codecov.io/bash)
- sbt ++$TRAVIS_SCALA_VERSION orgAfterCISuccess
notifications:
webhooks:
urls:
- 'https://webhook.atomist.com/atomist/travis/teams/T024G6JTP'
on_cancel: always
on_error: always
on_start: always
on_failure: always
on_success: always