move doc generation to asfter script section
This commit is contained in:
parent
cab682d855
commit
14ab12b89f
|
@ -55,7 +55,8 @@ install:
|
|||
script:
|
||||
- make test
|
||||
# - make clippy
|
||||
# upload docs
|
||||
|
||||
after_success:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
|
||||
cargo doc --no-deps &&
|
||||
|
@ -67,7 +68,6 @@ script:
|
|||
echo "Uploaded documentation"
|
||||
fi
|
||||
|
||||
after_success:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
|
||||
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
||||
|
|
Loading…
Reference in New Issue