mirror of https://github.com/dswd/vpncloud.git
Changed travic config
This commit is contained in:
parent
625f5ee6d7
commit
4770d4b9f9
30
.travis.yml
30
.travis.yml
|
@ -8,17 +8,24 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
before_script:
|
before_script:
|
||||||
- ! 'pip install ''travis-cargo<0.2'' --user &&
|
- ! ' set -e
|
||||||
export PATH=$HOME/.local/bin:$PATH;
|
pip install ''travis-cargo<0.2'' --user
|
||||||
wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz;
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
tar xvfz libsodium-1.0.3.tar.gz;
|
wget https://github.com/jedisct1/libsodium/releases/download/1.0.3/libsodium-1.0.3.tar.gz
|
||||||
cd libsodium-1.0.3 && ./configure --prefix=/usr && make && sudo make install && cd ..
|
tar xvfz libsodium-1.0.3.tar.gz
|
||||||
|
pushd libsodium-1.0.3
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
popd
|
||||||
'
|
'
|
||||||
script:
|
script:
|
||||||
- ! 'travis-cargo build &&
|
- ! ' set -e
|
||||||
travis-cargo build -- --features "crypto" &&
|
travis-cargo build
|
||||||
travis-cargo test -- --features "crypto" &&
|
travis-cargo build -- --features "crypto"
|
||||||
|
travis-cargo test -- --features "crypto"
|
||||||
travis-cargo bench -- --features "crypto"
|
travis-cargo bench -- --features "crypto"
|
||||||
|
travic-cargo coverage
|
||||||
'
|
'
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -27,7 +34,12 @@ addons:
|
||||||
- libelf-dev
|
- libelf-dev
|
||||||
- libdw-dev
|
- libdw-dev
|
||||||
after_success:
|
after_success:
|
||||||
- travis-cargo coveralls --no-sudo -- --features "crypto"
|
- ! ' set -e
|
||||||
|
rm -rf target/kcov
|
||||||
|
rm target/debug/vpncloud-*
|
||||||
|
cargo test --features "crypto"
|
||||||
|
kcov/build/src/kcov --skip-solibs --exclude-pattern=/.cargo --coveralls-id=$TRAVIS_JOB_ID target/kcov target/debug/vpncloud-*
|
||||||
|
'
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: never
|
on_success: never
|
||||||
|
|
Loading…
Reference in New Issue