gecko-dev/servo/.travis.yml
Josh Matthews 2c44fba207 servo: Merge #18193 - Move fast checks into earlier Travis task (from servo:jdm-patch-2); r=SimonSapin
This allows quicker feedback about whether the manifest needs updating; otherwise it has to wait until all builds and tests are complete.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c338a29294dc8ebf2c75dcdc3f2e67caef48ebe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a10a208178ab13bf1a2e8ffe80f8bf9adee66d79
2017-08-22 18:55:12 -05:00

49 lines
1.1 KiB
YAML

language: python
matrix:
fast_finish: true
include:
- sudo: false
script:
- ./mach test-tidy --no-progress --all
- ./mach test-tidy --no-progress --self-test
- bash etc/ci/check_no_panic.sh
- bash etc/ci/manifest_changed.sh
cache: false
- sudo: 9000
dist: trusty
script:
- ./mach build -d --verbose
- ./mach test-compiletest
- ./mach test-unit
- ./mach clean
- ./mach build-geckolib
- ./mach test-stylo
- bash etc/ci/lockfile_changed.sh
cache:
directories:
- .cargo
- .servo
- $HOME/.ccache
before_cache:
- ./mach clean-nightlies --keep 2 --force
- ./mach clean-cargo-cache --keep 2 --force
env: CCACHE=/usr/bin/ccache
addons:
apt:
packages:
- cmake
- freeglut3-dev
- gperf
- libosmesa6-dev
- libgles2-mesa-dev
- python-virtualenv
- xorg-dev
- ccache
- libdbus-glib-1-dev
- libedit-dev
branches:
only:
- master