aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2018-03-15 12:04:25 -0700
committerKristen Kozak <sebright@google.com>2018-03-15 12:04:25 -0700
commitfe20a9f152cbfdffa453151580770fffd334070f (patch)
tree2d3f3d0536fb51dc4599f916c822dc69cd867a65 /.travis.yml
parente45afa14e204ef3800cf7c89ae91fc23e6ae49ef (diff)
downloadopencensus-java-fe20a9f152cbfdffa453151580770fffd334070f.tar.gz
Move Travis jobs for example projects to the end of the build matrix.
This change allows build jobs that are affected by more pull requests to run first, to increase the probability of failures appearing in the first set of concurrent job runs.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 50b6e66f..efd52ebd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,10 @@ matrix:
env: TASK=CHECKER_FRAMEWORK
os: linux
+ - env: TASK=CHECK_GIT_HISTORY
+ os: linux
+
+ # Build example projects last, since they are affected by fewer pull requests.
- jdk: oraclejdk8
env: TASK=BUILD_EXAMPLES_GRADLE
os: linux
@@ -39,9 +43,6 @@ matrix:
env: TASK=BUILD_EXAMPLES_BAZEL
os: linux
- - env: TASK=CHECK_GIT_HISTORY
- os: linux
-
# Work around https://github.com/travis-ci/travis-ci/issues/2317
- env: TASK=BUILD
os: osx