File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
+ rust :
3
+ - 1.0.0
4
+ - beta
5
+ - nightly
2
6
sudo : false
3
7
script :
4
8
- cargo build --verbose
5
9
- cargo test --verbose
6
- - cargo test --verbose --features pattern
10
+ - |
11
+ [ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose --features pattern
7
12
- cargo doc
8
13
- cargo bench --verbose
9
- - cargo test --verbose --manifest-path=regex_macros/Cargo.toml
10
- - cargo bench --verbose --manifest-path=regex_macros/Cargo.toml
14
+ - |
15
+ [ $TRAVIS_RUST_VERSION != nightly ] || cargo test --manifest-path=regex_macros/Cargo.toml
16
+ - |
17
+ [ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --manifest-path=regex_macros/Cargo.toml
11
18
after_success : |
12
19
[ $TRAVIS_BRANCH = master ] &&
13
20
[ $TRAVIS_PULL_REQUEST = false ] &&
21
+ [ $TRAVIS_RUST_VERSION = nightly ] &&
14
22
echo '<meta http-equiv=refresh content=0;url=regex/index.html>' > target/doc/index.html &&
15
23
pip install ghp-import --user $USER &&
16
24
$HOME/.local/bin/ghp-import -n target/doc &&
You can’t perform that action at this time.
0 commit comments