Debian Codegraph @

.travis.yml

raw symbols SCIP
1 language: rust
2 sudo: false
3 language: rust
4
5 rust:
6 - stable
7 - beta
8 - nightly
9
10 cache:
11 directories:
12 - $HOME/.cargo
13 - target
14
15 install:
16 - true
17
18 before_script:
19 - |
20 pip install 'travis-cargo<0.2' --user &&
21 export PATH=$HOME/.local/bin:$PATH
22
23 env:
24 - TRAVIS_CARGO_NIGHTLY_FEATURE=""
25
26 script:
27 - travis-cargo build -- $EXTRA
28 - travis-cargo test -- $EXTRA
29 - travis-cargo --only stable doc
30 after_success:
31 # upload the documentation from the build with stable (automatically only actually
32 # runs on the master branch, not individual PRs)
33 - travis-cargo --only stable doc-upload
34
35
36 matrix:
37 allow_failures:
38 - rust: nightly
39 - rust: beta