vpncloud/.travis.yml

39 lines
930 B
YAML
Raw Normal View History

2015-11-23 18:51:10 +00:00
sudo: true
2015-11-23 18:24:34 +00:00
language: rust
rust:
- nightly
- beta
- stable
matrix:
allow_failures:
- rust: nightly
before_script:
- ! 'pip install ''travis-cargo<0.2'' --user &&
2015-11-23 18:47:06 +00:00
export PATH=$HOME/.local/bin:$PATH;
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;
cd libsodium-1.0.3 && ./configure --prefix=/usr && make && sudo make install && cd ..
2015-11-23 18:24:34 +00:00
'
script:
- ! 'travis-cargo build &&
2015-11-23 18:38:16 +00:00
travis-cargo build -- --features "crypto" &&
travis-cargo test -- --features "crypto" &&
travis-cargo bench -- --features "crypto" &&
travis-cargo --only stable doc -- --features "crypto"
2015-11-23 18:24:34 +00:00
'
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo
notifications:
email:
on_success: never
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""