mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #7974 - frewsxcv:travis, r=jdm
Use Travis container-based infra for test-tidy I wasn't aware one could specify options like `sudo` and `services` on a per build-environment basis. Since the container-based builds are faster than normal builds, we should utilize it for test-tidy <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7974) <!-- Reviewable:end -->
This commit is contained in:
commit
9c1cb9f61e
1 changed files with 10 additions and 9 deletions
19
.travis.yml
19
.travis.yml
|
@ -1,7 +1,4 @@
|
|||
language: python
|
||||
sudo: 9000
|
||||
services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi
|
||||
|
@ -13,12 +10,16 @@ script:
|
|||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- env:
|
||||
- CMD="./mach test-tidy"
|
||||
- DOCKER=0
|
||||
- env:
|
||||
- CMD="./mach build -d --verbose"
|
||||
- DOCKER=1
|
||||
- sudo: false
|
||||
env:
|
||||
- CMD="./mach test-tidy"
|
||||
- DOCKER=0
|
||||
- sudo: 9000
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
- CMD="./mach build -d --verbose"
|
||||
- DOCKER=1
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue