-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (26 loc) · 1.27 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)
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)
after_failure:
- find . -type f -path '*/target/it/*/build.log' -execdir bash -c 'if ! cat build.log | grep -qFx "[INFO] BUILD SUCCESS"; then tail -250 build.log; fi' \;
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: "KPff1R0UYw8apBmxSUMdbmEFC+2HCOoDw9rBAdp8aLMy9xsPIcigZhl6OmAF\nmTEeUvdrOBmWmZ8u9mUrPOLlQzK9Db+Np/Z9ZcM2Tp8Xh6uxk0rUhYQxUIWe\nUaHo8ROgnlapvGYql2b3cfCHYnsndl0SLYyr7q4MN7i6hwZPomY="
- secure: "R1jzt4jPZ62pv3tc+3WKpHKcKVltSq1VzUJrBi4D7zdtUo6H2b1HZry8fZ83\nHOamA9JgKQbAnzvq9l1wUZhCp6yv4AYE/r236UopvnwyDVGnmF7+SSWGEndz\nPsxqdIqNCCr8anJDWxMDs/GtRXICJ/MwpQqMNsn3CR3iJ0FaWtg="