浏览代码

updated travis config

Sebastian Stenzel 8 年之前
父节点
当前提交
3535e83d7d
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      .travis.yml

+ 6 - 5
.travis.yml

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