File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ matrix:
4
4
include :
5
5
- rust : nightly
6
6
env : FEATURES="--features nightly"
7
+ sudo : false
7
8
- rust : nightly
8
9
env : FEATURES="--features nightly" BENCH=true
10
+ sudo : false
9
11
- rust : beta
10
-
11
- sudo : false
12
+ sudo : true
12
13
13
14
cache :
14
15
directories :
@@ -17,6 +18,12 @@ cache:
17
18
script : ./.travis.sh
18
19
19
20
after_success : |
21
+ [ $TRAVIS_RUST_VERSION = beta ] &&
22
+ sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev &&
23
+ wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
24
+ tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
25
+ sudo make install && cd ../.. &&
26
+ kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/hyper-*
20
27
[ $TRAVIS_BRANCH = master ] &&
21
28
[ $TRAVIS_PULL_REQUEST = false ] &&
22
29
[ $TRAVIS_RUST_VERSION = beta ] &&
You can’t perform that action at this time.
0 commit comments