diff --git a/.travis.yml b/.travis.yml index 2530b30014..908be6034f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,19 @@ language: rust -rust: - - stable - - beta - - nightly - -os: - - linux - - osx - -cache: +matrix: + include: + - rust: stable + env: TARGET=x86_64-unknown-linux-gnu + - rust: beta + env: TARGET=x86_64-unknown-linux-gnu + - rust: nightly + env: TARGET=x86_64-unknown-linux-gnu + + - rust: stable + os: osx + env: TARGET=x86_64-apple-darwin + +cache: timeout: 360 cargo: true