blob: f37644090b9886a0ed33293c5ac353b52631d2e3 [file] [log] [blame]
language: rust
sudo: false
cache: cargo
rust:
- 1.20.0
- stable
- beta
- nightly
os:
- linux
- osx
env:
- ARCH=x86_64
- FEATURES=""
matrix:
include:
- rust: stable
env:
- ARCH=i686
- rust: beta
env:
- ARCH=i686
- rust: nightly
env:
- ARCH=i686
- rust: nightly
env:
- ARCH=x86_64
- FEATURES="--features simd-accel"
- rust: nightly
env:
- ARCH=x86_64
- FEATURES="--features avx-accel"
- RUSTFLAGS="-C target-feature=+avx"
addons:
apt:
packages:
- gcc-multilib
script: |
echo ARCH=$ARCH
echo FEATURES=$FEATURES
echo RUSTFLAGS=$RUSTFLAGS
curl -sSL https://raw.githubusercontent.com/carllerche/travis-rust-matrix/master/test | bash
cargo test --release $FEATURES && COUNTS="0,10,1000,100000,10000000" cargo bench $FEATURES