mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
934b77023e
MozReview-Commit-ID: 1muL5Jc7ulI --HG-- extra : rebase_source : ff2fdf700f38e66a932e3e73562190530ff1d47a
37 lines
780 B
YAML
37 lines
780 B
YAML
language: rust
|
|
# necessary for `travis-cargo coveralls --no-sudo`
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libcurl4-openssl-dev
|
|
- libelf-dev
|
|
- libdw-dev
|
|
|
|
# run builds for all the trains (and more)
|
|
rust:
|
|
- nightly
|
|
- beta
|
|
- stable
|
|
|
|
# load travis-cargo
|
|
before_script:
|
|
- |
|
|
pip install 'travis-cargo<0.2' --user &&
|
|
export PATH=$HOME/.local/bin:$PATH
|
|
|
|
# the main build
|
|
script:
|
|
- |
|
|
travis-cargo build &&
|
|
travis-cargo test &&
|
|
travis-cargo test -- --release &&
|
|
travis-cargo run -- --bin bench --release &&
|
|
travis-cargo --only stable doc
|
|
env:
|
|
global:
|
|
# override the default `--features unstable` used for the nightly branch (optional)
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
|
|
notifications:
|
|
email:
|
|
on_success: never
|