Created
February 22, 2017 03:45
-
-
Save jacklund/0ce13d9869c7371d763c05f9388c87fb to your computer and use it in GitHub Desktop.
Add this to .travis.yml to get kcov to work with Rust and Coveralls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after_success: | | |
sudo add-apt-repository -y ppa:kubuntu-ppa/backports && | |
sudo apt-get update && | |
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev binutils-dev libiberty-dev && | |
wget https://github.com/SimonKagstrom/kcov/archive/v33.tar.gz && | |
tar xzf v33.tar.gz && mkdir kcov-33/build && cd kcov-33/build && cmake .. && make && | |
sudo make install && cd ../.. && | |
kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov $(find target/debug -maxdepth 1 -executable -name macaroon-\*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment