Don't always build code coverage

pull/3/head
Bradlee Speice 2018-12-02 23:14:05 -05:00
parent e5d47f2400
commit 4daa291b1b
1 changed files with 17 additions and 15 deletions

View File

@ -41,6 +41,7 @@ script:
after_script: set +e
after_success: |
# Build test coverage statistics
if [ -z "$CODECOV" ]; then
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && \
tar xzf master.tar.gz && \
cd kcov-master && \
@ -56,6 +57,7 @@ after_success: |
done && \
bash <(curl -s https://codecov.io/bash) && \
echo "Uploaded code coverage"
fi
branches:
only: