-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (42 loc) · 1.85 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
45
46
47
48
language: rust
sudo: false
# 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
# check it compiles on the latest stable compiler
- stable
# and the first stable one (this should be bumped as the minimum
# Rust version required changes)
- 1.0.0
# 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 bench &&
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
- travis-cargo coveralls --no-sudo
env:
global:
# override the default `--features unstable` used for the nightly branch (optional)
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
# encrypted github token for doc upload (see `GH_TOKEN` link above)
- secure: fEUdlH5gp8vULogtj1GcrRti3h0HkyT01cK9pfTsOkYOBbPWk7U3vk2DNMelo0O9bCh/3clpvoh11DP3tn2c2jZeLCAb6FgXKmpMzLYyhn5UuQ186L+Bn7wE60fUgIWc2/0BbuIgb+TIWtSGIL7shF8fyFoQw3/7eSqU5IodSvOGcwIi+cPkPNRNMWl3fY0cvvrPA09ks1G75w50FdKyU+BZgPbjJugI7XAQ/ifCzUPLRXQoqbaXEWzvtczV83R2nozfFxBnURRWWV40gDSUSkOthz0q+bsSCOaNGHEtlBV+qLCFpxnd4xNCnB1LgRvJiCr4FbOTIq40+r+D83PPF1t+zQiPFGlHn4YJf9ZEOT9MjyRBx94ooR5Uo3zOqqCpoEs8DaBJwZNSVXzxKHpk6f68A+zvsRusaMva6lkz4OKu9im4OoH9fDxKD0Nv3ZbXfSkv0CWeO0WX3rYZ70QZ+uLYlEpgrrAHbIgQojGzXC5rUP8y7wng9lvyqwOTz0vFRqJ2biuvI4ZJSVaxVbQf20rvyKf1h1UO/w9fI87/DYIJZ2copJ2nUdbajFNe86AuscUDXQZ7ScewfgCkAby3q416Qx8y6GrPikqkWsspKn92dpEpa3UR4kn0sFzy6w2/oBCUZlVSLWfBf0J61qnZXfLB3viFLldwqTD1oMm2V+A=