-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
35 lines (27 loc) · 1.23 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
language: java
# configure the Maven environment
before_install:
- source <(curl -fsSL https://raw.github.com/daisy/maven-parents/travis/before_install)
# see https://github.com/travis-ci/travis-cookbooks/issues/964
- rm -f /opt/jdk_switcher/jdk_switcher.sh
- sudo apt-get install -y lame
install: mvn install -DskipTests=true -Dinvoker.skip=true -Dmaven.javadoc.skip=true -B -V
# main task, run the verify goal
script: mvn verify
# if the build succeeds, deploy the artifact (tests are skipped)
after_success:
- source <(curl -fsSL https://raw.github.com/daisy/maven-parents/travis/after_success)
before_cache:
- source <(curl -fsSL https://raw.github.com/daisy/maven-parents/travis/before_cache)
cache:
directories:
- $HOME/.m2/cached-repository
# whitelist; only deploy master branch
branches:
only:
- master
- /^super\/.+$/
env:
global:
- secure: "Be2c+KEF2YOOwvkr0ZBiFIAZrT3XX7Z+HBtaqKSvQJJSkDqZcC47lwOdmw/C1WijUXu0dGOMi9V9aaF2SFvAbsLnGpjBdflQDAGbTJ2rJjTMvVHB4zgRMw9qy0pwbOo9h7WO/TMZW50qiaY1zgJAKB00720Ta9s5mre1HVhss3o="
- secure: "WLkblF9cYFHrfFsv8JYJTCIRgqRs85f3weIw5TV6RpePCSfshsqYyOifzbt5NXv+Op7ay/KfAdudOhH6pKvsUJzcIWyWOkKQl67qLHi0dddzYvn7+Rpj/WH1TdWGLAgAO6zoWbdN8dwfu64KcRFQDUKn40k23fqsU+etkGpc448="