mirror of https://github.com/dswd/vpncloud.git
Travis tweaks
This commit is contained in:
parent
1b9e5b8b00
commit
81b933a85c
12
.travis.yml
12
.travis.yml
|
@ -11,14 +11,6 @@ before_script:
|
||||||
- ! ' set -e ;
|
- ! ' set -e ;
|
||||||
pip install ''travis-cargo<0.2'' --user ;
|
pip install ''travis-cargo<0.2'' --user ;
|
||||||
export PATH=$HOME/.local/bin:$PATH ;
|
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:
|
script:
|
||||||
- ! ' set -e ;
|
- ! ' set -e ;
|
||||||
|
@ -37,8 +29,8 @@ after_success:
|
||||||
- ! ' set -e ;
|
- ! ' set -e ;
|
||||||
rm -rf target/kcov ;
|
rm -rf target/kcov ;
|
||||||
rm target/debug/vpncloud-* ;
|
rm target/debug/vpncloud-* ;
|
||||||
cargo test ;
|
cargo test --no-run ;
|
||||||
kcov/build/src/kcov --exclude-pattern=/libsodium/,/x86_64-linux-gnu/,/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-* || true ;
|
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:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
Loading…
Reference in New Issue