-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
49 lines (44 loc) · 795 Bytes
/
.travis.yml
File metadata and controls
49 lines (44 loc) · 795 Bytes
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
49
language: rust
rust:
- 1.35.0
- stable
- beta
- nightly
matrix:
fast_finish: true
cache:
apt: true
directories:
- target/debug/deps
- target/debug/build
dependencies:
cache_directories:
- kcov-36
override:
- |
if [[ ! -d "kcov-36" ]]; then
wget 'https://github.com/SimonKagstrom/kcov/archive/v36.zip' -O /tmp/kcov.zip
unzip /tmp/kcov.zip
cd kcov-36
cmake .
make -j$(nproc)
else
cd kcov-36
fi
sudo make install
install:
- cargo install cargo-kcov
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- g++
- pkg-config
- jq
- binutils-dev
- libiberty-dev
after_success: |
cargo kcov --coveralls