Travis tweaks

This commit is contained in:
Dennis Schwerdel 2016-05-25 14:15:44 +02:00
parent 1b9e5b8b00
commit 81b933a85c
1 changed files with 2 additions and 10 deletions

View File

@ -11,14 +11,6 @@ before_script:
- ! ' set -e ;
pip install ''travis-cargo<0.2'' --user ;
export PATH=$HOME/.local/bin:$PATH ;
export VERSION=1.0.10 ;
wget https://github.com/jedisct1/libsodium/releases/download/$VERSION/libsodium-$VERSION.tar.gz ;
tar xvfz libsodium-$VERSION.tar.gz ;
pushd libsodium-$VERSION ;
./configure --prefix=/usr ;
make ;
sudo make install ;
popd ;
'
script:
- ! ' set -e ;
@ -37,8 +29,8 @@ after_success:
- ! ' set -e ;
rm -rf target/kcov ;
rm target/debug/vpncloud-* ;
cargo test ;
kcov/build/src/kcov --exclude-pattern=/libsodium/,/x86_64-linux-gnu/,/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-* || true ;
cargo test --no-run ;
kcov/build/src/kcov --exclude-pattern=/usr/include,/libsodium/,/x86_64-linux-gnu/,/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-* || true ;
'
notifications:
email: