Skip to content

Commit

Permalink
chore(travis): Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shonenada committed Dec 4, 2019
1 parent 9736178 commit 922001d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
sudo: false
language: rust
rust:
- stable
- nightly

matrix:
include:
- rust: stable
install:
- rustup component add rustfmt
script:
- cargo fmt -- --check

- rust: nightly
install:
- rustup component add rustfmt

install:
- rustc -Vv
- cargo -V
- export PATH=$HOME/.cargo/bin:$PATH

script:
- cargo check --verbose
- cargo test --verbose

branches:
only:
# Release tags
- /^v\d+\.\d+\.\d+.*$/
- master

cache:
apt: true

notifications:
email:
on_success: never

0 comments on commit 922001d

Please sign in to comment.