This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
.travis.yml
50 lines (43 loc) · 1.57 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
language: scala
matrix:
include:
# scala 2.10
- jdk: oraclejdk8
scala: 2.10.7
# scala 2.11
- jdk: oraclejdk8
scala: 2.11.12
# scala 2.12
- jdk: oraclejdk8
scala: 2.12.4
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 test coverageReport
else
sbt ++$TRAVIS_SCALA_VERSION 'release with-defaults'
fi
else
sbt test coverageReport
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
after_success:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
# - "bash <(curl -s https://codecov.io/bash) -r $TRAVIS_REPO_SLUG -t $CODECOV_TOKEN"
env:
global:
- secure: "E7d1nSnfbp7A09/GVWhMN+BgSOhML5NRAOAIwooW4h1MI6MUMK881TJOz0/B3HhubsbUKWT1IpQ6OqNsAS2N7cUvG5+cjdpaRrp0z1i2RBARKmwbF3MsiRWV8M0aEUIBRNHe12wktFZMVHR55FAVO942Z1kqhQyW8Tn1gooBgzc="
- secure: "hdSfTIepwVaQLuI+MRLOZmg2w1gwgIHd9PzISPJig8gInylPI+HH4SZ+I+pmY1Iz6bQCOLo/n3PZjlXFmj7m4CTd2oCpvuISNB3PvL4Vyl3EbwXm0ZGX/yE4teNpO54K/OjHa8Qi/8ZloCZdGuUretfXty29NqFgmCrhh6CShGg="
- secure: "mIM3iagGLxOvvjW5WE+whKw7e2iRXVn0AlLqXzlprUDH/a/yIsJZxrzQtX/tevzgSiUWZk0GFBq2FAGRZ8Eifbs5Dn/fxamj+e1/JX6/UPlcToP3v6ZTPlVOuNlyOxt0Qg+lPdOcRrXc4f9/7vHNXskvezuPRJv9FApHcSsVRP8="