forked from camunda/camunda-bpm-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (20 loc) · 820 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
25
branches:
only:
- master
sudo: false # enables container based builds for travis
language: java
jdk:
- oraclejdk7
install: mvn install -Ptomcat,h2,engine-integration -pl qa/integration-tests-engine -am -DskipTests -s settings/maven/nexus-settings.xml -B -q
before_script:
- cat /etc/mavenrc
- echo "MAVEN_OPTS='-Dmaven.repo.local=$HOME/.m2/repository -Xmx1024m -XX:MaxPermSize=192m'" > ~/.mavenrc
script:
- mvn verify -Ptomcat,h2,engine-integration -pl qa/integration-tests-engine -am -s settings/maven/nexus-settings.xml
cache:
directories:
- $HOME/.m2/repository
before_cache:
- 'find ~/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
- 'find ~/.m2/repository -name maven-metadata-\* -exec rm {} \;'
- 'find ~/.m2/repository -name resolver-status.properties -exec rm {} \;'