gecko-dev/servo/.travis.yml
Simon Sapin 53ce66c194 servo: Merge #19683 - Upgrade to rustc 1.24.0-nightly (0a3761e63 2018-01-03) (from servo:rustup); r=jdm
Fixes #19635
Fixes #19637
Fixes #19735
Fixes #19519

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 850bb03bf38848f152cb635ff09b96d5cbf1cfa1
2018-01-10 14:00:32 -06:00

73 lines
2.0 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
- export CC=gcc-5 CXX=g++-5
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
- source ~/.profile
script:
- ./mach build -d --verbose
- ./mach test-unit
- ./mach clean
- ./mach build-geckolib
- ./mach test-stylo
- bash etc/ci/lockfile_changed.sh
cache:
directories:
- .servo
- $HOME/.cargo
- $HOME/.rustup
- $HOME/.ccache
before_cache:
- ./mach clean-nightlies --keep 2 --force
- ./mach clean-cargo-cache --keep 2 --force
env:
CCACHE=/usr/bin/ccache
RUSTFLAGS=-Dwarnings
CARGO_INCREMENTAL=0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:jonathonf/ffmpeg-3'
packages:
- cmake
- dbus-x11
- freeglut3-dev
- gcc-5
- g++-5
- gperf
- libavcodec-dev
- libavformat-dev
- libosmesa6-dev
- libpulse-dev
- libgles2-mesa-dev
- libswscale-dev
- libswresample-dev
- pulseaudio
- python-virtualenv
- xorg-dev
- ccache
- libdbus-glib-1-dev
- libedit-dev
branches:
only:
- master