language: rust
sudo: false
# we you unstable issues and need Rust nightly
# however we of course hope that we will be able to use stable at some point
# `cfg_target_feature` and `simd` are the main reasons why Rust nightly is required.
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
# Run the makefile to test all tests and doc tests for every sub module
# and then test and bench the the top level crate.
script:
- |
make test &&
make bench &&
cargo doc
env:
global:
# Add certain compiler flags with the rustc wrapper script
- RUSTC="$TRAVIS_BUILD_DIR/rustc.sh"