From 9e0da9738f352ef626008e0ecec5697eef507cec Mon Sep 17 00:00:00 2001 From: Luro02 <24826124+Luro02@users.noreply.github.com> Date: Sat, 28 Sep 2019 14:19:22 +0200 Subject: [PATCH] fix doctests --- .travis.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 18e48ce..c3f0a73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,13 +26,11 @@ script: after_success: | if [[ "$TRAVIS_RUST_VERSION" == stable ]]; then - which cargo-install-update || cargo install cargo-update - cargo install-update --all - - # Uncomment the following line for coveralls.io - # cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID - - # Uncomment the following two lines create and upload a report for codecov.io + which cargo-install-update || cargo install cargo-update + cargo install-update --all + fi + # this does require a -Z flag for Doctests, which is unstable! + if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo tarpaulin --out Xml --run-types Tests Doctests bash <(curl -s https://codecov.io/bash) fi