File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : rust
2
+
3
+ sudo : required
4
+
5
+ branches :
6
+ only :
7
+ - master
8
+
9
+ env :
10
+ - RUSTFLAGS='-C link-dead-code' TEST_DIR=.
11
+
12
+ rust :
13
+ - stable
14
+ - nightly
15
+
16
+ matrix :
17
+ allow_failures :
18
+ - rust : nightly
19
+
20
+ script :
21
+ - cd $TEST_DIR && cargo build && cargo test && cargo clippy
22
+
23
+ addons :
24
+ apt :
25
+ packages :
26
+ - libcurl4-openssl-dev
27
+ - libelf-dev
28
+ - libdw-dev
29
+
30
+ after_success : |
31
+ wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
32
+ tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make &&
33
+ sudo make install && cd ../.. &&
34
+ kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/influxdb-*
You can’t perform that action at this time.
0 commit comments