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:
bors-servo 2015-10-11 09:17:25 -06:00
commit 9c1cb9f61e

View file

@ -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: