1sudo: false
2
3language: rust
4
5cache: cargo
6
7rust:
8  - stable
9
10os:
11  - linux
12  - osx
13
14matrix:
15  include:
16    - os: linux
17      env: GNUPLOT=yes
18      addons:
19        apt:
20          packages:
21            - gnuplot
22    - os: linux
23      env: CLIPPY=yes
24      rust: stable
25    - os: linux
26      env: RUSTFMT=yes
27      rust: stable
28    - os: linux
29      env: DOCS=yes
30    - os: linux
31      env: GNUPLOT=yes
32      rust: 1.39.0
33      addons:
34        apt:
35          packages:
36            - gnuplot
37    - os: linux
38      env: GNUPLOT=no
39      rust: nightly
40    - os: linux
41      env: GNUPLOT=yes
42      rust: nightly
43      addons:
44        apt:
45          packages:
46            - gnuplot
47    - os: osx
48      env: GNUPLOT=yes
49    - os: osx
50      env: GNUPLOT=no
51      rust: nightly
52    - os: osx
53      env: GNUPLOT=yes
54      rust: nightly
55    - os: linux
56      env: MINIMAL_VERSIONS=yes
57      rust: nightly
58
59before_script:
60  - if [ "$DOCS" = "yes" ]; then
61      pip install 'travis-cargo<0.2' --user;
62      export PATH=$HOME/.local/bin:$PATH;
63    fi
64
65before_cache:
66- find ./target/debug -maxdepth 1 -type f -delete
67- rm -rf ./target/debug/deps/criterion*
68- rm -rf ./target/debug/deps/bench*
69- rm -rf ./target/debug/.fingerprint/criterion*
70- rm -rf ./target/debug/.fingerprint/bench*
71- rm -f  ./target/.rustc_info.json
72- rm -rf ./target/criterion
73- rm -rf ~/.cargo/registry/index/
74
75install:
76  - sh ci/install.sh
77
78script:
79  - sh ci/script.sh
80
81env:
82  global:
83    - secure: "f/HaMzQu7d6ochSjE5lUjJbXYWlhbzslyTuWq+Lub/r2TTL4hVlT9koC4RT7W73V3WDrwYIqEGmwvscVffnijZRebl/PV+6WlOlYJEdAgKxGROpFGDIJGRGAc/f3s6OcJ+Hr8rmRF70fYEl45hs6J53X8s+CVRuty+r/UdilRpM="
84
85notifications:
86  email:
87    on_success: never
88