Skip to content

Commit aa69721

Browse files
committed
Test on rust 1.0.0, nightly, and beta
1 parent f63924d commit aa69721

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
language: rust
2+
rust:
3+
- 1.0.0
4+
- beta
5+
- nightly
6+
sudo: false
27
script:
38
- cargo build --verbose
49
- cargo test --verbose
510
- cargo doc
611
after_success: |
712
[ $TRAVIS_BRANCH = master ] &&
813
[ $TRAVIS_PULL_REQUEST = false ] &&
14+
[ $TRAVIS_RUST_VERSION = nightly ] &&
915
echo '<meta http-equiv=refresh content=0;url=conduit-conditional-get/index.html>' > target/doc/index.html &&
10-
sudo pip install ghp-import &&
11-
ghp-import -n target/doc &&
12-
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
16+
pip install ghp-import --user $USER &&
17+
$HOME/.local/bin/ghp-import -n target/doc &&
18+
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
1319
env:
1420
global:
1521
secure: gqLf/klvb6URp60MTNOYDwcucCD2JUbMI147cPWlZMJkZ5/HGVx0jO9w1DSjl8c7/wwgFr81MWwPNLiFQ1822GJGxGBTF+U1IdzGUARUrNlqvOaEATemSFnPBH7pwe9bSiy7b8Cs1Zj++19TljonPr1l6X7x6vO0A1C1hKLMHzI=

0 commit comments

Comments
 (0)