-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
33 lines (25 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
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
# FIXME: skipping calabash-adapter and persistence-derby tests because for some reason they fail on Travis
script: mvn -pl '!calabash-adapter,!persistence-derby' 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: "PtxRXo1wzFd4EKBEeR+DVeCz0jrtB8zPAzr2cYoHJoa+2gZnzLi8WvhbsJiIKeMytcFt0rDDexcVwkkJl8wn+5DWndxxScdg0my/I1Eye23DwuctIhB6Z7uCvQ2En/N2vJ7yO/XduXMUX04xwgKheGTt4vntpMNdCWLC+jWbSzY="
- secure: "W6iuVCVmqyk6nIYBdv+dYFrhIp0jIpz9OYqi/L8MnHtsiCXqIUx6GcGNtb3Ki7HwNCUDpKzV1D5Pfo1P62lvKO93Li601e/VuYrE23tDozpYiWEdoHymeQxUBvcY/k3wDpeH4Qr1PdEJpiFhLgQwR9RjC1T6pq0YxhZfrj0kHIE="