forked from p6spy/p6spy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 1.28 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
language: java
jdk:
- oraclejdk7
- openjdk7
env:
global:
- SONATYPE_USERNAME=p6spy
- secure: "Eaot/cONtJUyLb0Gw8b75hzSEQEK3gl34mMe6hH+fQBOm7x6YcCx+6Cx3hmQvFVwpb1Q5+VHj9xE3Vk3wMrcaj0R6g4xHVMSSS7CZKbKIqgQlyIDgGTSuil94GGmwpJ9lGu71Re4b6p45K1RUIeW7VPZS+MpY3wNgmSBbozkH40="
before_install:
- "sudo apt-get update -qq"
- script/travis/before_install_firebird.sh
- script/travis/before_install_db2.sh
- script/travis/before_install_oracle.sh
# - sudo apt-get install -qq pgp
before_script:
- script/travis/before_script_firebird.sh
- script/travis/before_script_mysql.sh
- script/travis/before_script_postgres.sh
- script/travis/before_script_db2.sh
- script/travis/before_script_oracle.sh
- groovy script/travis/generateMavenSettingsForDeploy.groovy
script: mvn -version; if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_JDK_VERSION == "oraclejdk7" ]]; then mvn clean test site:site site:stage -P travis -Dmaven.test.failure.ignore=true --settings ~/.m2/deploySettings.xml; mvn -N ghSite:site; else mvn clean test -P travis --settings ~/.m2/deploySettings.xml; fi;
after_script:
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_JDK_VERSION == "oraclejdk7" ]]; then mvn clean deploy -DskipTests --settings ~/.m2/deploySettings.xml; fi
notifications:
email: