Skip to content

Commit

Permalink
Add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibi Braniecki committed Oct 13, 2017
1 parent 6dfcf55 commit 11f25e5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
sudo: false
language: rust
cache: cargo
rust:
- nightly
# Dependencies of kcov, used by coverage
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
- cmake
sources:
- kalakris-cmake

before_script:
- |
cargo install --force cargo-travis &&
export PATH=$HOME/.cargo/bin:$PATH
# the main build
script:
- |
cargo build &&
cargo test &&
cargo doc
after_success:
# measure code coverage and upload to coveralls.io
- cargo coveralls

0 comments on commit 11f25e5

Please sign in to comment.