diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a4db7ff --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +dist: trusty +sudo: false + +language: rust +rust: + - stable + - beta + - nightly +cache: cargo + +script: bin/build diff --git a/bin/build b/bin/build new file mode 100755 index 0000000..63eab8e --- /dev/null +++ b/bin/build @@ -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;