File tree Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Expand file tree Collapse file tree 2 files changed +36
-5
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+
1
3
language : rust
4
+
5
+ cache : cargo
6
+
7
+ addons :
8
+ apt :
9
+ sources :
10
+ - kalakris-cmake
11
+ packages :
12
+ - cmake
13
+ - libcurl4-openssl-dev
14
+ - libelf-dev
15
+ - libdw-dev
16
+ - binutils-dev
17
+
2
18
rust :
3
19
- 1.15.0
4
20
- 1.16.0
5
21
- stable
6
22
- beta
7
23
- nightly
8
24
25
+ before_script :
26
+ - pip install 'travis-cargo<0.2' --user
27
+ - export PATH=$HOME/.local/bin:$PATH
28
+ - |
29
+ if [ $TRAVIS_RUST_VERSION = "stable" ]; then
30
+ cargo install cargo-update
31
+ export PATH=$HOME/.cargo/bin:$PATH
32
+ cargo install-update --allow-no-update rustfmt cargo-update
33
+ fi
34
+
9
35
script :
10
- - cargo build --verbose
11
- - cargo test --verbose
12
- - cargo doc
36
+ - travis-cargo build
37
+ - travis-cargo test
38
+ - travis-cargo bench
39
+ - travis-cargo --only stable doc -- --no-deps
40
+ - travis-cargo --only stable fmt
13
41
14
- # Use Travis container-based infrastructure
15
- sudo : false
42
+ after_success :
43
+ - travis-cargo coveralls --no- sudo --verify
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ skeptic = "0.9"
16
16
17
17
[dev-dependencies ]
18
18
skeptic = " 0.9"
19
+
20
+ [features ]
21
+ unstable = []
You can’t perform that action at this time.
0 commit comments