Browse Source

updated travis config

Sebastian Stenzel 8 years ago
parent
commit
3535e83d7d
1 changed files with 6 additions and 5 deletions
  1. 6 5
      .travis.yml

+ 6 - 5
.travis.yml

@@ -3,6 +3,9 @@ sudo: required
 dist: trusty
 dist: trusty
 jdk:
 jdk:
 - oraclejdk8
 - oraclejdk8
+cache:
+  directories:
+  - $HOME/.m2
 env:
 env:
   global:
   global:
     - secure: "IfYURwZaDWuBDvyn47n0k1Zod/IQw1FF+CS5nnV08Q+NfC3vGGJMwV8m59XnbfwnWGxwvCaAbk4qP6s6+ijgZNKkvgfFMo3rfTok5zt43bIqgaFOANYV+OC/1c59gYD6ZUxhW5iNgMgU3qdsRtJuwSmfkVv/jKyLGfAbS4kN8BA=" #coverity
     - secure: "IfYURwZaDWuBDvyn47n0k1Zod/IQw1FF+CS5nnV08Q+NfC3vGGJMwV8m59XnbfwnWGxwvCaAbk4qP6s6+ijgZNKkvgfFMo3rfTok5zt43bIqgaFOANYV+OC/1c59gYD6ZUxhW5iNgMgU3qdsRtJuwSmfkVv/jKyLGfAbS4kN8BA=" #coverity
@@ -14,13 +17,11 @@ addons:
     notification_email: sebastian.stenzel@cryptomator.org
     notification_email: sebastian.stenzel@cryptomator.org
     build_command: "mvn -fmain/pom.xml clean test -DskipTests"
     build_command: "mvn -fmain/pom.xml clean test -DskipTests"
     branch_pattern: release.*
     branch_pattern: release.*
+install:
+- mvn -fmain/pom.xml dependency:go-offline -Ptest-coverage
+- mvn -fmain/pom.xml dependency:go-offline -Prelease
 script:
 script:
 - mvn --update-snapshots -fmain/pom.xml -Ptest-coverage clean test jacoco:report-aggregate
 - mvn --update-snapshots -fmain/pom.xml -Ptest-coverage clean test jacoco:report-aggregate
-before_cache:
-- mvn -fmain/pom.xml -Prelease clean test -DskipTests
-cache:
-  directories:
-  - $HOME/.m2
 after_success:
 after_success:
 - "bash <(curl -s https://codecov.io/bash)"
 - "bash <(curl -s https://codecov.io/bash)"
 notifications:
 notifications: