forked from eclipse-pass/pass-nihms-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (19 loc) · 914 Bytes
/
.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
language: java
jdk: oraclejdk8
script: mvn clean verify
before_install:
- sudo service mysql stop
- sudo service postgresql stop
- sudo service acpid stop
- sudo service atd stop
- sudo service cron stop
- sudo service memcached stop
- sudo service ntp stop
- sudo service rabbitmq-server stop
- sudo service resolvconf stop
- sudo service sshguard stop
- sudo service ssh stop
- sudo service rsyslog stop
- if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then openssl aes-256-cbc -K $encrypted_dad403bdd755_key -iv $encrypted_dad403bdd755_iv -in settings.tar.enc -out settings.tar -d && tar -xf settings.tar && cat known_hosts >> ~/.ssh/known_hosts ; fi
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script: if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then mvn -s ./settings.xml deploy -Dexternal -DtrimStackTrace=false; else mvn verify -DtrimStackTrace=false; fi