mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +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
11
.travis.yml
11
.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,10 +10,14 @@ script:
|
|||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- env:
|
||||
- sudo: false
|
||||
env:
|
||||
- CMD="./mach test-tidy"
|
||||
- DOCKER=0
|
||||
- env:
|
||||
- sudo: 9000
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
- CMD="./mach build -d --verbose"
|
||||
- DOCKER=1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue