Skip to content

Commit

Permalink
Use travis-cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
rnestler committed Mar 13, 2016
1 parent c1885d4 commit 38f4f75
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
language: rust
sudo: false

addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev

rust:
- stable
- beta
- nightly

before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
matrix:
allow_failures:
- rust: nightly
services:
- redis-server
script:
- cargo test
- cargo doc --no-deps
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo bench &&
travis-cargo --only stable doc
after_success:
- bash scripts/travis-doc-upload.sh
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo --verify

0 comments on commit 38f4f75

Please sign in to comment.