From 3f7cd977bc20929b899a9d9278551512c5d9ee26 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 9 Sep 2016 18:07:30 -0400 Subject: expand Rust versions we test on. --- .travis.yml | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 8f226db1..d36d0163 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,3 @@ -#language: rust -#rust: -# - stable -# - beta -# - nightly -#script: -# - cargo build --verbose -# - cargo doc -# - cargo test --verbose -# - if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then -# cargo bench --verbose; -# fi - language: rust cache: cargo @@ -19,19 +6,35 @@ env: - PROJECT_NAME=ripgrep matrix: include: - # Nightly channel + # Nightly channel. + # (All *nix releases are done on the nightly channel to take advantage + # of the regex library's multiple pattern SIMD search.) + - os: linux + rust: nightly + env: TARGET=i686-unknown-linux-musl + - os: linux + rust: nightly + env: TARGET=x86_64-unknown-linux-musl - os: osx rust: nightly env: TARGET=i686-apple-darwin - os: osx rust: nightly env: TARGET=x86_64-apple-darwin + # Beta channel. - os: linux - rust: nightly - env: TARGET=i686-unknown-linux-musl + rust: beta + env: TARGET=x86_64-unknown-linux-musl + - os: osx + rust: beta + env: TARGET=x86_64-apple-darwin + # Minimum Rust supported channel. - os: linux - rust: nightly + rust: 1.9 env: TARGET=x86_64-unknown-linux-musl + - os: osx + rust: 1.9 + env: TARGET=x86_64-apple-darwin before_install: - export PATH="$PATH:$HOME/.cargo/bin" -- cgit v1.2.3