-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (33 loc) · 971 Bytes
/
.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
# http://docs.travis-ci.com/user/getting-started/
# http://docs.travis-ci.com/user/languages/rust/
# https://github.com/huonw/travis-cargo
# http://stackoverflow.com/questions/18027115/committing-via-travis-ci-failing
language: rust
# Use the new Travis.
sudo: false
# necessary for `travis-cargo coveralls --no-sudo`
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
rust:
- nightly
- beta
- stable
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:
- travis-cargo --only stable doc-upload
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: ObQVKZrODpvjcE4OVAFG2pv7H03/qRZQlFIqgmVR/9F+aJzb3QXdMy4lqx8hMsZT8NFYRzo/8WYPvxNKcF+2aSX0SM2wZH21p8PusnPPlBe84i/73wqROcZ9I6um5m0TDWc+hkS2BCOsr2QwRlh14MZGowwk2xhO0EZT3Xmxez8=