blob: 79ca28e8f3ff326087c54687afc8d7e3924a73f8 (
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
31
32
|
language: rust
cache:
- cargo
rust:
- stable
- 1.23.0
- beta
- nightly
script:
# `patch` section is recent addition
- if [ "$TRAVIS_RUST_VERSION" != "1.23.0" ]; then make all ; fi
- if [ "$TRAVIS_RUST_VERSION" == "1.23.0" ]; then make build ; fi
- if [ "$TRAVIS_RUST_VERSION" != "1.23.0" ]; then make travistest ; fi
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then make bench ; fi
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo build --no-default-features; cargo test --no-default-features; fi
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test -p test_edition2018; fi
env:
global:
- RUST_BACKTRACE=1
matrix:
-
- RELEASE=true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/87a331e1a21456b6e2ad
on_success: change # options: [always|never|change] default: always
on_failure: change # options: [always|never|change] default: always
on_start: false # default: false
|