travis: Add initial travis config.

master
Damir Jelić 2020-03-15 12:35:35 +01:00
parent 2d8165c113
commit b82b65ab09
1 changed files with 17 additions and 0 deletions

17
.travis.yml Normal file
View File

@ -0,0 +1,17 @@
language: rust
rust: stable
jobs:
include:
- os: linux
dist: bionic
- os: osx
before_script:
- rustup component add rustfmt
script:
- cargo build --no-default-features --features 'encryption'
- cargo fmt --all --no-default-features --features 'encryption' -- --check
- cargo test --no-default-features --features 'encryption'