servo/.travis.yml
bors-servo f6bd158fd4 Auto merge of #16593 - UK992:clean-cargo-cache, r=wafflespeanut
Mach: Add `mach clean-cargo-cache` command

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16593)
<!-- Reviewable:end -->
2017-05-08 04:37:21 -05:00

51 lines
1.3 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 test-unit -p style
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