Skip to content

Commit

Permalink
.travis.yml: One stage for integration tests (userns and otherwise)
Browse files Browse the repository at this point in the history
The separate stage is from 4964bd9 (test: run integration tests with
userNS enabled, 2018-05-24, #1578), but using a separate stage meant
that Travis serialized these slow (20+ minute) stages.  By flattening
into one stage we can run these in parallel (modulo Travis worker
availability) and get the Travis results earlier.

I've shifted the TEST_USERNS declaration into an env property so it
shows up in the Travis UI (e.g. [1]).

[1]: https://travis-ci.org/kubernetes-incubator/cri-o/builds/386122146

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Jun 5, 2018
1 parent 540ebd6 commit 7275820
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -59,9 +59,9 @@ jobs:
script:
- make integration
go: "1.10.x"
- stage: Integration Test with User namespaces enabled
script:
- TEST_USERNS=1 make integration
- script:
- make integration
env: TEST_USERNS=1
go: "1.10.x"
allow_failures:
- os: osx
Expand Down

0 comments on commit 7275820

Please sign in to comment.