-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (41 loc) · 1.83 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sudo: false
language: rust
# necessary for `travis-cargo coveralls --no-sudo`
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
# optional: only required for the --verify flag of coveralls
rust:
- stable
- beta
- nightly
# load travis-cargo
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo --only stable doc
after_success:
# upload the documentation from the build with stable (automatically only actually
# runs on the master branch, not individual PRs)
- travis-cargo --only stable doc-upload
# measure code coverage and upload to coveralls.io (the verify
# argument mitigates kcov crashes due to malformed debuginfo, at the
# cost of some speed <https://github.com/huonw/travis-cargo/issues/12>)
- travis-cargo coveralls --no-sudo --verify
notifications:
email:
on_success: never
env:
global:
# override the default `--features unstable` used for the nightly branch (optional)
- TRAVIS_CARGO_NIGHTLY_FEATURE=''
- secure: BpgILE0llr1M6VVmpUxYbBDNJnzLeuSWjMXg9ZsiSHyt0SvMyzn1CoEc0PCLv//Sw/omhJqjL3w+wn+otY4A1xcm2wrFPz/FjFTQcBjnMePqsZf1+3HEBe5thFWQI7sLvvaWSeDbXtYydV7nJv6KuO29+5RMr9nENeH1XE3JEBMgAco787RS6rK0jBS18a6q3yBMaLY54Ug4Vl+7HSCyN1TEQG9Gg/OJ7M+3QisCW5zbLHaDItRfKsqXGBptX9mpkfje/zkcli3G37xB0IoW5cANfKR2v0MOmDHVC+2ofHjTb4lk1nvyJgksEVVJ7NskbFrjZfLT5soElwuhIKABr85qOv29pDYmOPcGFlMsaUqyzcEjCmMqAWMXxJgce8hFBSWwf6bYaGycPxp3wdrdDK0AzUbym2f9bbZDMw8CaSbGbhKFbZLbfUJyTpofgWXrBJXZeHHV6ZU0tiADNps2q66fWINDiEkTKJJuaSmaiMqrPFUd6e2cM3MLLA+u6PzkKGKoJRDb/zknAPOvrnqvzZz/RQjPPEApE17o6MCVhG+mTSZIrhye5ZPkcnJypmAaCx8yMXRrhtJT4I39tNoEm92Gs9hRizUS3kM6v9PXM4B+Q5himxz5fX69yLjQ585L1M+OF/KRytkLAyYxUV0HqXS5AHdupUryIOFiZ+ftjMo=