forked from bheisler/criterion.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
87 lines (76 loc) · 1.64 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
sudo: false
language: rust
cache: cargo
rust:
- stable
os:
- linux
- osx
matrix:
include:
- os: linux
env: GNUPLOT=yes
addons:
apt:
packages:
- gnuplot
- os: linux
env: CLIPPY=yes
rust: stable
- os: linux
env: RUSTFMT=yes
rust: stable
- os: linux
env: DOCS=yes
- os: linux
env: GNUPLOT=yes
rust: 1.39.0
addons:
apt:
packages:
- gnuplot
- os: linux
env: GNUPLOT=no
rust: nightly
- os: linux
env: GNUPLOT=yes
rust: nightly
addons:
apt:
packages:
- gnuplot
- os: osx
env: GNUPLOT=yes
- os: osx
env: GNUPLOT=no
rust: nightly
- os: osx
env: GNUPLOT=yes
rust: nightly
- os: linux
env: MINIMAL_VERSIONS=yes
rust: nightly
before_script:
- if [ "$DOCS" = "yes" ]; then
pip install 'travis-cargo<0.2' --user;
export PATH=$HOME/.local/bin:$PATH;
fi
before_cache:
- find ./target/debug -maxdepth 1 -type f -delete
- rm -rf ./target/debug/deps/criterion*
- rm -rf ./target/debug/deps/bench*
- rm -rf ./target/debug/.fingerprint/criterion*
- rm -rf ./target/debug/.fingerprint/bench*
- rm -f ./target/.rustc_info.json
- rm -rf ./target/criterion
- rm -rf ~/.cargo/registry/index/
install:
- sh ci/install.sh
script:
- sh ci/script.sh
env:
global:
- secure: "f/HaMzQu7d6ochSjE5lUjJbXYWlhbzslyTuWq+Lub/r2TTL4hVlT9koC4RT7W73V3WDrwYIqEGmwvscVffnijZRebl/PV+6WlOlYJEdAgKxGROpFGDIJGRGAc/f3s6OcJ+Hr8rmRF70fYEl45hs6J53X8s+CVRuty+r/UdilRpM="
notifications:
email:
on_success: never