gecko-dev/servo/.travis.yml
UK992 9604d167db servo: Merge #16573 - Auto clean old nightlies on Travis (from UK992:travis); r=aneeshusa
This could solve `no space left` problem.

Source-Repo: https://github.com/servo/servo
Source-Revision: cc74b5b36f03dca9bd543885222ed0e6d91fedcd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 69bc9d92343b14b567fc153b35c3af5c78f956d5
2017-04-22 19:17:12 -05:00

51 lines
1.2 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
cache: false
- sudo: 9000
dist: trusty
script:
- ./mach build -d --verbose
- ./mach test-compiletest
# disabled due to #15076
#- ./mach test-unit
# disabled due to #14723
#- ./mach build-geckolib
#- ./mach test-stylo
- bash etc/ci/check_no_panic.sh
- bash etc/ci/lockfile_changed.sh
- bash etc/ci/manifest_changed.sh
- ./mach cargo test -p selectors
- ./mach cargo test -p style
cache:
directories:
- .cargo
- .servo
- $HOME/.ccache
before_cache:
- ./mach clean-nightlies --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