mirror of https://github.com/dswd/vpncloud.git
Maybe fixed travis config
This commit is contained in:
parent
4770d4b9f9
commit
3ad2e90f34
42
.travis.yml
42
.travis.yml
|
@ -8,24 +8,24 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
before_script:
|
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 ;
|
||||||
wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz
|
wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz ;
|
||||||
tar xvfz libsodium-1.0.3.tar.gz
|
tar xvfz libsodium-1.0.3.tar.gz ;
|
||||||
pushd libsodium-1.0.3
|
pushd libsodium-1.0.3 ;
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr ;
|
||||||
make
|
make ;
|
||||||
sudo make install
|
sudo make install ;
|
||||||
popd
|
popd ;
|
||||||
'
|
'
|
||||||
script:
|
script:
|
||||||
- ! ' set -e
|
- ! ' set -e ;
|
||||||
travis-cargo build
|
travis-cargo build ;
|
||||||
travis-cargo build -- --features "crypto"
|
travis-cargo build -- --features "crypto" ;
|
||||||
travis-cargo test -- --features "crypto"
|
travis-cargo test -- --features "crypto" ;
|
||||||
travis-cargo bench -- --features "crypto"
|
travis-cargo bench -- --features "crypto" ;
|
||||||
travic-cargo coverage
|
travis-cargo coverage ;
|
||||||
'
|
'
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -34,11 +34,11 @@ addons:
|
||||||
- libelf-dev
|
- libelf-dev
|
||||||
- libdw-dev
|
- libdw-dev
|
||||||
after_success:
|
after_success:
|
||||||
- ! ' set -e
|
- ! ' set -e ;
|
||||||
rm -rf target/kcov
|
rm -rf target/kcov ;
|
||||||
rm target/debug/vpncloud-*
|
rm target/debug/vpncloud-* ;
|
||||||
cargo test --features "crypto"
|
cargo test --features "crypto" ;
|
||||||
kcov/build/src/kcov --skip-solibs --exclude-pattern=/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-*
|
kcov/build/src/kcov --skip-solibs --exclude-pattern=/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov ; target/debug/vpncloud-* ;
|
||||||
'
|
'
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
Loading…
Reference in New Issue