• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: rust
2sudo: false
3
4rust:
5- nightly
6- beta
7- stable
8- 1.36.0
9
10before_script:
11- |
12  pip install 'travis-cargo<0.2' --user &&
13  export PATH=$HOME/.local/bin:$PATH
14
15script:
16- travis-cargo build
17- travis-cargo test
18- travis-cargo bench -- --features criterion
19# Criterion may drop support for 1.36.0 in the future. If it does, replace the above line with this:
20# - travis-cargo --skip 1.36.0 bench -- --features criterion
21- travis-cargo doc -- --no-deps
22
23after_success:
24- travis-cargo --only nightly doc-upload
25env:
26  global:
27  - TRAVIS_CARGO_NIGHTLY_FEATURE=""
28
29notifications:
30  email: false
31