summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-09 18:07:30 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-09 18:07:30 -0400
commit3f7cd977bc20929b899a9d9278551512c5d9ee26 (patch)
treec1f773ef728d45c0751ee7ec3f755de87ef6e328 /.travis.yml
parentcc6b6dcf5bb1e6be3d16bb7125058295892c9ab9 (diff)
expand Rust versions we test on.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml37
1 files changed, 20 insertions, 17 deletions
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"