Skip to content

Commit

Permalink
.travis: Run race detection builds on master commits only
Browse files Browse the repository at this point in the history
We had to temporarily subscribe to Travis CI because we consumed our
10000 free credits. Our current plan however only allows for two
concurrent builds. With four builds per commit, we are constantly
running behind, with Travis CI builds now taking longer to be scheduled
than it takes our Jenkins tests to finish. Long gone are the days when
we considered Travis CI a viable smoke test...

This commit attempts to alleviate the issue by running our race
detection builds only on master commits.

Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno committed Nov 26, 2020
1 parent 05ac4ac commit f231119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
group: edge
- arch: amd64
name: "amd64-race"
if: type != pull_request
env:
- RACE=1
- BASE_IMAGE=quay.io/cilium/cilium-runtime:2020-11-16@sha256:e0a7d9cc628f93f086434d633d2ac825b9d0c2fb4c2dd6d8d926b05e85515822
- LOCKDEBUG=1
- arch: arm64-graviton2
name: "arm64-graviton2-race"
if: type != pull_request
env:
- RACE=1
- BASE_IMAGE=quay.io/cilium/cilium-runtime:2020-11-16@sha256:e0a7d9cc628f93f086434d633d2ac825b9d0c2fb4c2dd6d8d926b05e85515822
Expand Down

0 comments on commit f231119

Please sign in to comment.