mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Merge pull request #208 from RustPython/travis-fix
Limit the gh-pages deployment step to only nightly build
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -9,7 +9,6 @@ rust:
|
||||
script:
|
||||
- cargo build --verbose --all
|
||||
- cargo test --verbose --all
|
||||
- cargo doc --no-deps --all
|
||||
|
||||
env:
|
||||
# This is used to only capture the regular nightly test in allow_failures
|
||||
@@ -62,6 +61,15 @@ matrix:
|
||||
- cargo fmt --all -- --check
|
||||
env:
|
||||
- REGULAR_TEST=false
|
||||
- name: publish documentation
|
||||
language: rust
|
||||
rust: nightly
|
||||
cache: cargo
|
||||
script:
|
||||
- cargo doc --no-deps --all
|
||||
env:
|
||||
- REGULAR_TEST=false
|
||||
- PUBLISH_DOC=true
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
env: REGULAR_TEST=true
|
||||
@@ -76,3 +84,4 @@ deploy:
|
||||
keep-history: true
|
||||
on:
|
||||
branch: master
|
||||
condition: $PUBLISH_DOC = true
|
||||
|
||||
Reference in New Issue
Block a user