mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
61fae225ac
This fixes #18954. Source-Repo: https://github.com/servo/servo Source-Revision: 5d16c7353a10ddf5521da7c709646d5516bf6db2 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 86f666a7749302f9c08e09ad63bbd2becda57958
55 lines
1.5 KiB
YAML
55 lines
1.5 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
|
|
before_install:
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
- sudo add-apt-repository 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main' -y
|
|
- sudo apt-get update -q
|
|
- sudo apt-get install clang-3.9 llvm-3.9 llvm-3.9-runtime -y
|
|
- export LLVM_CONFIG=/usr/lib/llvm-3.9/bin/llvm-config
|
|
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
|