-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (40 loc) · 840 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
37
38
39
40
41
42
43
44
45
46
47
48
49
sudo: false
language: rust
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev # required for the --verify flag of kcov
before_script:
- ./scripts/build-kcov
- export PATH=$HOME/kcov/bin:$PATH
cache:
- cargo
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
script:
- cargo build --all --verbose
- cargo test --all --verbose
- cargo test --all --verbose --features test-thread-log
- cargo doc --all --verbose
- cargo bench --verbose
- cargo bench --verbose --features test-thread-log
after_success:
- scripts/build-kcov
- scripts/coverage
- bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage"
env:
global:
- RUST_BACKTRACE=1
branches:
only:
- master