aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 16bf2d27360b68bf53b0415858c2e9d584663f97 (plain)
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
language: rust
sudo: false

rust:
- nightly
- beta
- stable
- 1.36.0

before_script:
- |
  pip install 'travis-cargo<0.2' --user &&
  export PATH=$HOME/.local/bin:$PATH

script:
- travis-cargo build
- travis-cargo test
- travis-cargo bench -- --features criterion
# Criterion may drop support for 1.36.0 in the future. If it does, replace the above line with this:
# - travis-cargo --skip 1.36.0 bench -- --features criterion
- travis-cargo doc -- --no-deps

after_success:
- travis-cargo --only nightly doc-upload
env:
  global:
  - TRAVIS_CARGO_NIGHTLY_FEATURE=""

notifications:
  email: false