forked from oracle/wookiee-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·55 lines (45 loc) · 2.95 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
55
language: scala
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
sudo: false
env:
global:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
- secure: "Jpzwz0jr79laehehNFNZim3mb3M5VI0N27FU/dpbeNxcY6N616W7dzGR3YzW9Hr7qXHGSAfd7l7EzMSJuVSEtEIRV00kjQzQJdnwFJWEpNGJOTHXdY07i149+D2Tr2hpzOlf8QKeT3lV8zxcLun09SqUY0+W0ZgZDNshLTKnGTrz31Rld3FlQYiv4W2uzR1ZSXGo+w2LyjWtm7qfZ9Vijk6MEnmFU1SVI8stVivINm7NqAqkj49ZrwOTLZjmr8MuEwRHdR9DSNAc+phm2RRR+P9d57ssLxg1VoNbx4K5HDDe+cL8/YDJ3ta0Ig/35wMwqMIy5gCvwlOpMSEdFUiHDkrK7mhqkV68eM2IlAdETIQP/1TDPliieLA0sysNsgaWYTXizd/mAM6iVbIEy9gn+Wyr4HjnXCYuifSXTOXvfmlbA22Yh5VxvkVzauW+i4oEPLU8T4DqXWTOHApS05AlCv2n+gD3KA3wmXZ+kxSR1TdPaO0UAHvypiwi7AwVZ6gLws40WZtszmy6pcHcvvdKJmqSmtdBpIcUHBNGkUnCLZGDcJop8hxyJoDdaHwuoyiBNuWLLR4ekQvyXoa5+DJScjEynMUGVbNBHRrK3DCQFkHhWDUSpB66iSYETU23zfmkVWwqaTd9iR5ANlgnXJkUxY1RBF6ldTkygqN08qEi/so="
- secure: "Sg5phgmCOu5TgcbZyH3E+ftoBy7/miwVl8DaUBU7C7p0Jouaq0gak42N6hCkNn0Ty9SVgv5pAnEN9W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9GRwzqdGqNrCcwbK4vEygLnbwBTc/X31F7EJhFaMKJv0Zx3bOG20s+yAvfk88ZxC8Hzgl534ocFvZp8m60AtOWa+3Jt26Z3ymYMmPRbFndovay7v/9ZWE0a+AC1dUH5QfBFGj7XrsAuVxO5d/TwgTmjjth8fa0VTU5N5uanzubq3t4trrF5XeniXoWuX0thKFn9fatsxInItR9DiM8JHSsfA8E="
matrix:
include:
- scala: '2.11.12'
env: SCALAVER=2.11
- scala: '2.12.6'
env: SCALAVER=2.12
branches:
only:
- master
- /^[0-9]+\.[0-9]+\.[0-9]+$/
cache:
directories:
- $HOME/.m2
before_install:
- git clone -b travis `git config --get remote.origin.url` target/travis
- chmod +x bin/changeScalaVersion.sh
- bin/changeScalaVersion.sh $TRAVIS_SCALA_VERSION $SCALAVER
install: true
script:
- |
if [ "$TRAVIS_TAG" != "" ]; then
mvn versions:set -DnewVersion=$TRAVIS_TAG
fi
- |
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
mvn deploy --settings target/travis/settings.xml
fi
- |
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
mvn test -B
fi