Skip to content

Commit

Permalink
Added Travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elichai committed May 1, 2019
1 parent c4e98e5 commit 1a63d0d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: rust
sudo: false
rust:
- stable
- beta
- nightly
- nightly-2018-10-01-x86_64-unknown-linux-gnu\
env:
- RUST_TEST_THREADS=1
script:
- cargo build --verbose
- cargo test --verbose -- --nocapture
- cargo test --examples --- --nocapture

before_script:
- if [ ${TRAVIS_RUST_VERSION} == "stable" ]; then
rustup component add clippy-preview rustfmt;
cargo fmt --all -- --check;
cargo clippy -- -D clippy::all;
fi

notifications:
email:
on_success: never

0 comments on commit 1a63d0d

Please sign in to comment.