Coreralls with crypto feature

This commit is contained in:
Dennis Schwerdel 2015-11-23 21:53:33 +01:00
parent 04011a5766
commit 68e51ad467
1 changed files with 13 additions and 9 deletions

View File

@ -8,14 +8,19 @@ matrix:
allow_failures:
- rust: nightly
before_script:
- ! 'pip install ''travis-cargo<0.2'' --user && export PATH=$HOME/.local/bin:$PATH;
- ! 'pip install ''travis-cargo<0.2'' --user &&
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 .. '
tar xvfz libsodium-1.0.3.tar.gz;
cd libsodium-1.0.3 && ./configure --prefix=/usr && make && sudo make install && cd ..
'
script:
- ! 'travis-cargo build && travis-cargo build -- --features "crypto" && travis-cargo
test -- --features "crypto" && travis-cargo bench -- --features "crypto" && travis-cargo
--only stable doc -- --features "crypto" '
- ! 'travis-cargo build &&
travis-cargo build -- --features "crypto" &&
travis-cargo test -- --features "crypto" &&
travis-cargo bench -- --features "crypto" &&
travis-cargo --only stable doc -- --features "crypto"
'
addons:
apt:
packages:
@ -23,12 +28,11 @@ addons:
- libelf-dev
- libdw-dev
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo
- travis-cargo --only stable doc-upload -- --features "crypto"
- travis-cargo coveralls --no-sudo -- --features "crypto"
notifications:
email:
on_success: never
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: fzCMraJjZ4Ok+T6PzL8BMtg6NFBDdpZ98YraxYSJU57sJ//4LtJ49dlGNZTrMTz4BehO5PIJ8oXWLPRVV4fqQoppWehOskx/WVoLFhv/3PFy+/FYmPJvqqV9eOYHlE8+hmMI06Kk1gqLpw8egTjs4f4Mx7rd3kpCSJahm9SZO2Qc933vq4NppuXcmfARbQ33Xyhmbs4OGPRTbj5LrUogonzDzpQkeXMa+ZZqr6eaaT9fCnVAB03aPhzJ3H00nzeQSEoU4sL2p6NvDZwsheZ/HxYwDwxzgu70JAtIe4lMRaK+XmhhXFes0SR70Cncpeedee1FOvzcHZYLVlA+mml92rmIYSlsRMDv4++KS03+Jug11niWkKh/AWAlpHPSu2UmiENavpolFMzVpSu46zkpfJa2vPNqKTj2qpoixNaauNYWJJvI1mYLMMIfNv64HuLsGdGk0gR3KHG3paGPm1Xxnf4tBf+g53lBWxlxSieXzxaTZDAE+AIsQPI4snL6hoH4FqGcqmoRjOG71FrijlEqkmZYouMQt+EVQYJMcprEUVjvYkKXHypMW0DgFSace/9rOxu5YWezMBUsSJoBsMGsS28X/ZpJ1Aj3EKFZtG+OSu2MuxLUsvT1czmG9Q0tKDSIvjllaDLHl3CqpeFpVlKKwnAlpo+fjZxxdfYctfrF+ds=