Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Activate Travis cache for m2, p2 & npm_cache directories (#5902)
Browse files Browse the repository at this point in the history
Signed-off-by: Henning Treu <henning.treu@telekom.de>
  • Loading branch information
htreu authored and maggu2810 committed Jul 17, 2018
1 parent 5af9415 commit 830ea29
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Expand Up @@ -3,13 +3,20 @@ dist: trusty

language: java
jdk: oraclejdk8

cache:
directories:
- $HOME/.m2
- $HOME/.p2
- extensions/ui/org.eclipse.smarthome.ui.paper/npm_cache

before_install: echo "MAVEN_OPTS='-Xms1g -Xmx2g -XX:PermSize=512m -XX:MaxPermSize=1g'" > ~/.mavenrc

#$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
#$ mvn test -B

install:
- echo 'mvn clean install -B -V -Dspotbugs.skip=true 1> .build.stdout 2> .build.stderr' > .build.sh
- echo 'mvn clean verify -B -V -Dspotbugs.skip=true 1> .build.stdout 2> .build.stderr' > .build.sh
- chmod 0755 .build.sh
script:
- travis_wait 60 ./.build.sh
Expand Down

0 comments on commit 830ea29

Please sign in to comment.