forked from Verizon/sbt-blockade
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (31 loc) · 1.06 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
language: scala
scala:
- 2.10.5
jdk:
- oraclejdk8
branches:
only:
- master
before_script:
- "if [ $TRAVIS_PULL_REQUEST = 'false' ]; then git checkout -qf $TRAVIS_BRANCH; fi"
script:
- |
if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
if [ $RELEASE_ON_PUSH = 'false' ]; then
sbt ++$TRAVIS_SCALA_VERSION validate
else
sbt ++$TRAVIS_SCALA_VERSION 'release with-defaults'
fi
else
sbt ++$TRAVIS_SCALA_VERSION validate
fi
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/scala-$TRAVIS_SCALA_VERSION
env:
global:
- secure: "OCcDaEw7rtg0r4jEgm1VYdy+k4IrfgoNa8fsysdo/O70is7upf3r7M3XzndCF22ABbV1yn04/fSOJ5/deaGMPb1M6TWBQn9B4m1HMgD7kSgEQjuVKyNDRlSt4HpUcDqi+gzcnbeifv4hVeRkllWq5cZwF/s/WtpC7uvocV6hMK4="
- secure: "GilPBhmxnD3S3KrhT/rq/pyPSPPYdTR3dXIzhmkyK7xNXaRh/dLho4C5N9ZHaweiJHgee+xti6LlgoHGxKcjRrXjRxYgwVvyCxm8WwHWwgUzNY2Yc45OSmZG0txuvKtXcYlSAzILOc1MAzwzqdSH6PIUgO1mXGwt5NTD4m40KDo="