forked from mybatis/jpetstore-6
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (30 loc) · 1.02 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
language: java
sudo: false
addons:
firefox: latest
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
cache:
directories:
- "$HOME/.m2"
before_script:
- |
if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]; then
./mvnw dependency:copy -Dartifact=org.codehaus.cargo:cargo-daemon-webapp:1.6.4:war -Dmdep.stripVersion=true
java -jar ./target/dependency/cargo-daemon-webapp.war &
fi
script:
- |
if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]; then
./mvnw -U cargo:daemon-start -P tomcat85
./mvnw -U test -P itest
fi
after_success:
- chmod -R 777 ./travis/after_success.sh
- "./travis/after_success.sh"
env:
global:
- secure: OYpjRGu1vnh+yrWqdpaF1nWAzshvlFzh9frQGZv51PCrB+xnwY6SLiwtrlNZ9NKp60Buoxf3YySAml2xG86Y0gUCVjUsFlWg0mBFs1Hvnv6lxUVla6ZjiQ+C9wSavjky6jPbGrBjHd2uXvdUnElMzJc7j6Czm6BigmAaivPfwE0=
- secure: n8R+jUI2M/SY3pfiVOP95jLbkMXSIrAVhJ6ttTyr9k9OpLdIiP0LJ/Ccv/lNawx0TBlbApcZsc+fh3YZC5QJOl4+2pT9yc7+nULv8LlWoDVjWy+31rD6UJsxgGvADks1gs8SYvW2oHP2vNd8GUpNG6W3hmBkQm80wi6ssAxysZM=