mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
language: python
|
||||||
sudo: 9000
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi
|
- if [ "$DOCKER" = "1" ]; then docker build -t servo etc/ci/; fi
|
||||||
|
@ -13,12 +10,16 @@ script:
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
- env:
|
- sudo: false
|
||||||
- CMD="./mach test-tidy"
|
env:
|
||||||
- DOCKER=0
|
- CMD="./mach test-tidy"
|
||||||
- env:
|
- DOCKER=0
|
||||||
- CMD="./mach build -d --verbose"
|
- sudo: 9000
|
||||||
- DOCKER=1
|
services:
|
||||||
|
- docker
|
||||||
|
env:
|
||||||
|
- CMD="./mach build -d --verbose"
|
||||||
|
- DOCKER=1
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue