Revert "Codecov take 2."

This reverts commit 693def007a.
This commit is contained in:
Jordan Petridis 2017-10-04 12:16:23 +03:00
parent 693def007a
commit 3e2471953b
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -17,8 +17,6 @@ test:stable:
- rustc --version && cargo --version # Print version info for debugging
- cargo build
- cargo test --verbose --jobs 1 --release
after_script:
- wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz && cd kcov-master && mkdir build && cd build && cmake .. && make && make install DESTDIR=../../kcov-build && cd ../.. && rm -rf kcov-master && for file in target/debug/hammond-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage"
# Use cargo to test the project
test:nightly:
@ -33,3 +31,5 @@ test:nightly:
- cargo test --verbose --jobs 1 --release
- cargo bench
allow_failure: true
after_script:
- wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz && cd kcov-master && mkdir build && cd build && cmake .. && make && make install DESTDIR=../../kcov-build && cd ../.. && rm -rf kcov-master && for file in target/debug/hammond-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage"