Skip to content

Commit

Permalink
move doc generation to asfter script section
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Apr 3, 2018
1 parent cab682d commit 14ab12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand All @@ -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 &&
Expand Down

0 comments on commit 14ab12b

Please sign in to comment.