1
Fork 0

Simple build script and travis config.

This commit is contained in:
Alex Helfet 2017-12-22 20:04:37 +00:00
parent 1a29d6f451
commit d75905d5df
2 changed files with 21 additions and 0 deletions

11
.travis.yml Normal file
View file

@ -0,0 +1,11 @@
dist: trusty
sudo: false
language: rust
rust:
- stable
- beta
- nightly
cache: cargo
script: bin/build

10
bin/build Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -ex
cargo +stable build --verbose;
cargo +nightly test --verbose;
cargo +nightly test --verbose --no-default-features;
cargo +stable doc --verbose;
cargo +nightly doc --verbose;