summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 24583dca26b..20937176541 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,10 +4,6 @@ sudo: required
services:
- docker
-env:
- - PLATFORM_LANGUAGE=cpp
- - PLATFORM_LANGUAGE=java
-
cache:
timeout: 900
directories:
@@ -28,5 +24,15 @@ install: true
language: minimal
-script: ./travis/travis.sh $PLATFORM_LANGUAGE
-
+script: ./travis/travis.sh ${BUILD_TYPE}
+
+matrix:
+ include:
+ - env: BUILD_TYPE="java"
+ if: type = pull_request
+ - env: BUILD_TYPE="cpp"
+ if: type = pull_request
+ - env: BUILD_TYPE="install"
+ if: type = pull_request
+ - env: BUILD_TYPE="full"
+ if: NOT type = pull_request