1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00

travis config

This commit is contained in:
Nikolay Kim 2018-01-10 21:49:23 -08:00
parent 448b73a4b5
commit f7d9b45e64

View File

@ -11,7 +11,7 @@ matrix:
- rust: 1.20.0 - rust: 1.20.0
- rust: stable - rust: stable
- rust: beta - rust: beta
- rust: nightly - rust: nightly-2018-01-03
allow_failures: allow_failures:
- rust: nightly - rust: nightly
- rust: beta - rust: beta
@ -68,7 +68,7 @@ script:
# Upload docs # Upload docs
after_success: after_success:
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "nightly" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "nightly-2018-01-03" ]]; then
cargo doc --features alpn --no-deps && cargo doc --features alpn --no-deps &&
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html && echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
cargo install mdbook && cargo install mdbook &&