diff --git a/.travis.yml b/.travis.yml index e1d6b6b4e..40ab543b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -71,79 +71,89 @@ matrix: - os: linux compiler: clang # Exclude most osx, arm64 and ppc64le tests for pull requests, but build in branches - - if: type != pull_request + # NB: the cmake build is a partial java test + - if: type = pull_request os: osx env: TEST_GROUP=1 - - if: type != pull_request + - if: type = pull_request os : linux arch: arm64 env: TEST_GROUP=1 - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: TEST_GROUP=1 - - if: type != pull_request + - if: type = pull_request os: osx env: TEST_GROUP=2 - - if: type != pull_request + - if: type = pull_request os : linux arch: arm64 env: TEST_GROUP=2 - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: TEST_GROUP=2 - - if: type != pull_request + - if: type = pull_request os: osx env: TEST_GROUP=3 - - if: type != pull_request + - if: type = pull_request os : linux arch: arm64 env: TEST_GROUP=3 - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: TEST_GROUP=3 - - if: type != pull_request + - if: type = pull_request os: osx env: TEST_GROUP=4 - - if: type != pull_request + - if: type = pull_request os : linux arch: arm64 env: TEST_GROUP=4 - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: TEST_GROUP=4 - - if: type != pull_request + - if: type = pull_request + os : osx + env: JOB_NAME=java_test + - if: type = pull_request os : linux arch: arm64 - env: JOB_NAME=java-test - - if: type != pull_request + env: JOB_NAME=java_test + - if: type = pull_request os: linux arch: ppc64le - env: JOB_NAME=java-test - - if: type != pull_request + env: JOB_NAME=java_test + - if: type = pull_request + os : osx + env: JOB_NAME=lite_build + - if: type = pull_request os : linux arch: arm64 - env: JOB_NAME=lite-build - - if: type != pull_request + env: JOB_NAME=lite_build + - if: type = pull_request os: linux arch: ppc64le - env: JOB_NAME=lite-build - - if: type != pull_request + env: JOB_NAME=lite_build + - if: type = pull_request + os : osx + env: JOB_NAME=examples + - if: type = pull_request os : linux arch: arm64 env: JOB_NAME=examples - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: JOB_NAME=examples - - if: type != pull_request + - if: type = pull_request os : linux arch: arm64 env: JOB_NAME=cmake-gcc8 - - if: type != pull_request + - if: type = pull_request os: linux arch: ppc64le env: JOB_NAME=cmake-gcc8