Exclude more Travis builds for each pull request (#6557)
Summary: This commit fixes an incorrect version of this change that was previously landed. On recently adding ARM64 and PPC64LE builds to Travis, we seem to have hit some parallel build limits that dramatically increased queue times. This change majorly limits the configurations for ARM64 and PPC64LE to build on each pull request, but keeps the large matrix for branch builds. In the process, I changed some previously excluded osx build configurations to happen in branch builds. NB: we might want to move master branch Travis build to daily trigger rather than push trigger to further reduce contention. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6557 Test Plan: Travis only Reviewed By: siying Differential Revision: D20563425 Pulled By: pdillinger fbshipit-source-id: d619eb9f196486ed000364aa40de4661f0b1029d
This commit is contained in:
parent
d2e3822d67
commit
66cd07c6d9
58
.travis.yml
58
.travis.yml
@ -71,79 +71,89 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
# Exclude most osx, arm64 and ppc64le tests for pull requests, but build in branches
|
# 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
|
os: osx
|
||||||
env: TEST_GROUP=1
|
env: TEST_GROUP=1
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: TEST_GROUP=1
|
env: TEST_GROUP=1
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: TEST_GROUP=1
|
env: TEST_GROUP=1
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: osx
|
os: osx
|
||||||
env: TEST_GROUP=2
|
env: TEST_GROUP=2
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: TEST_GROUP=2
|
env: TEST_GROUP=2
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: TEST_GROUP=2
|
env: TEST_GROUP=2
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: osx
|
os: osx
|
||||||
env: TEST_GROUP=3
|
env: TEST_GROUP=3
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: TEST_GROUP=3
|
env: TEST_GROUP=3
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: TEST_GROUP=3
|
env: TEST_GROUP=3
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: osx
|
os: osx
|
||||||
env: TEST_GROUP=4
|
env: TEST_GROUP=4
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: TEST_GROUP=4
|
env: TEST_GROUP=4
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: TEST_GROUP=4
|
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
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: JOB_NAME=java-test
|
env: JOB_NAME=java_test
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: JOB_NAME=java-test
|
env: JOB_NAME=java_test
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
|
os : osx
|
||||||
|
env: JOB_NAME=lite_build
|
||||||
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: JOB_NAME=lite-build
|
env: JOB_NAME=lite_build
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: JOB_NAME=lite-build
|
env: JOB_NAME=lite_build
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
|
os : osx
|
||||||
|
env: JOB_NAME=examples
|
||||||
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: JOB_NAME=examples
|
env: JOB_NAME=examples
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: JOB_NAME=examples
|
env: JOB_NAME=examples
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os : linux
|
os : linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: JOB_NAME=cmake-gcc8
|
env: JOB_NAME=cmake-gcc8
|
||||||
- if: type != pull_request
|
- if: type = pull_request
|
||||||
os: linux
|
os: linux
|
||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
env: JOB_NAME=cmake-gcc8
|
env: JOB_NAME=cmake-gcc8
|
||||||
|
Loading…
Reference in New Issue
Block a user