Skip to content

Commit

Permalink
fix(): TravisCI build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Feb 10, 2016
1 parent b9ec1a4 commit 416481a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Expand Up @@ -13,14 +13,10 @@ rust:
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo bench &&
travis-cargo --only stable doc
- sh ./tools/test.sh
after_success:
- travis-cargo --only stable doc
- travis-cargo --only stable doc-upload
- travis-cargo --only stable coveralls --no-sudo
notifications:
webhooks:
urls:
Expand Down
1 change: 0 additions & 1 deletion tests/lib.rs
Expand Up @@ -2,6 +2,5 @@ extern crate octavo;
extern crate openssl;
extern crate quickcheck;

mod crypto;
mod kdf;
mod mac;
11 changes: 11 additions & 0 deletions tools/test.sh
@@ -0,0 +1,11 @@
#!/bin/sh

set -e

MODULES="crypto digest kdf mac"

for crate in $MODULES
do
travis-cargo test -- --manifest-path "$crate/Cargo.toml" && \
travis-cargo --only stable coveralls --no-sudo --manifest-path "$crate/Cargo.toml"
done

0 comments on commit 416481a

Please sign in to comment.