Skip to content

Commit 586fded

Browse files
committed
Added beta travis support
1 parent 927bfc5 commit 586fded

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
language: rust
2+
rust:
3+
- nightly
4+
- beta
25
env:
36
global:
47
- secure: jHaQxUCPsFgcVfGn1Gw+GX+3GrmJjXOpEfHfoaeHz03r58IIzYD1mFL1/QjCPR8nn2X1GCuUzFaJtYB/1xmgYC6HZP7kFBGkygBEt0Jiem/lru328WNRD3/j9wQi1OL6+cTcNcz0+4oTiwvctqA8p3OcuKCr+VDiQnspq+orLHM=
@@ -7,9 +10,11 @@ script:
710
- cargo build --verbose
811
- cargo test --verbose
912
- cargo doc --verbose
13+
- '[ "$TRAVIS_RUST_VERSION" = "beta" ] || cargo bench --verbose # adapted from rust-itertools'
1014
- mv target/doc doc
1115

1216
after_success: |
17+
[ "$TRAVIS_RUST_VERSION" = "beta" ] &&
1318
[ $TRAVIS_BRANCH = master ] &&
1419
[ $TRAVIS_PULL_REQUEST = false ] &&
1520
echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&

0 commit comments

Comments
 (0)