Skip to content

Commit

Permalink
enable coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Jul 1, 2015
1 parent c2d63ce commit 61b8366
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,40 @@
language: rust

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

rust:
- nightly
- beta
- stable

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
after_success:
- travis-cargo coveralls --no-sudo

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9c035a194ac4fd4cc061
on_success: change
on_failure: always
on_start: false


env:
global:
# override the default `--features unstable` used for the nightly branch (optional)
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ keywords = ["parser", "parser-combinators", "parsing", "streaming"]

[features]
core = []
nightly = []

0 comments on commit 61b8366

Please sign in to comment.