diff --git a/.travis.yml b/.travis.yml index 2cf1008d332e2..a57d639545c79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,17 @@ matrix: include: - os: linux jdk: oraclejdk8 - - os: osx - osx_image: xcode8 +# - os: osx +# osx_image: xcode8 script: - cd azure-documentdb-rx - mvn dependency:resolve -- zip -d ~/.m2/repository/com/microsoft/azure/azure-documentdb/1.11.0/azure-documentdb-1.11.0.jar 'META-INF/*.SF' 'META-INF/*.RSA' -- mvn test -P fast -DargLine="-DACCOUNT_HOST=$ACCOUNT_HOST -DACCOUNT_KEY=$ACCOUNT_KEY" +- zip -d $HOME/.m2/repository/com/microsoft/azure/azure-documentdb/1.11.0/azure-documentdb-1.11.0.jar 'META-INF/*.SF' 'META-INF/*.RSA' || echo "maybe already fixed and cached!" +- mvn test -P fast -DargLine="-DACCOUNT_HOST=$ACCOUNT_HOST -DACCOUNT_KEY=$ACCOUNT_KEY" cobertura:cobertura +after_success: + - bash <(curl -s https://codecov.io/bash) + + +cache: + directories: + - $HOME/.m2 diff --git a/azure-documentdb-rx/pom.xml b/azure-documentdb-rx/pom.xml index 41123f0dcca5d..277727e737df2 100644 --- a/azure-documentdb-rx/pom.xml +++ b/azure-documentdb-rx/pom.xml @@ -30,6 +30,21 @@ + + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + + html + xml + + + + + + org.apache.maven.plugins maven-compiler-plugin