• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: rust
2
3rust:
4    - stable
5    - beta
6    - nightly
7
8sudo: false
9
10notifications:
11    email:
12        on_success: never
13        on_failure: always
14
15before_script:
16  - |
17      pip install 'travis-cargo<0.2' --user &&
18      export PATH=$HOME/.local/bin:$PATH
19
20script:
21    - travis-cargo build
22    - travis-cargo test
23    - travis-cargo doc -- --no-deps
24    # TODO: Reenable later
25    #- rustdoc --test README.md -L target/debug
26
27after_success:
28    - curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash
29
30env:
31  global:
32    # override the default `--features unstable` used by travis-cargo
33    # since unstable is activated by default
34    - TRAVIS_CARGO_NIGHTLY_FEATURE=""
35