Ensure all jobs share same cache
@@ -24,13 +24,11 @@ install: true
language: minimal
-script: ./travis/travis.sh ${BUILD_TYPE}
-
matrix:
include:
- - env: BUILD_TYPE="java"
+ - script: ./travis/travis.sh java
if: type = pull_request
- - env: BUILD_TYPE="cpp"
+ - script: ./travis/travis.sh cpp
if: type = pull_request
- - env: BUILD_TYPE="full"
+ - script: ./travis/travis.sh full
if: NOT type = pull_request
