forked from jgrimes/gdpr_consent
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (30 loc) · 839 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
sudo: required
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
cache:
- apt: true
- cargo: true
- directories:
- target/debug/deps
- target/debug/build
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- libiberty-dev
after_success: |
[ $TRAVIS_RUST_VERSION = stable ] &&
wget https://github.com/shaneutt/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && make install DESTDIR=../tmp && cd ../.. &&
ls target/debug &&
./kcov-master/tmp/usr/local/bin/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --include-path=. --exclude-pattern=/.cargo target/kcov target/debug/gdpr_consent-*