From 966632a724a396007d7e5e52d007008dbb6c465f Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 3 Feb 2019 15:45:02 -0800 Subject: [PATCH] Fix deploy on Travis. The deploy scripts require TARGET env var to be set, but it wasn't set anywhere, causing it to fail: https://travis-ci.com/rust-lang-nursery/mdBook/builds/97850452. This also reduces the number of mac builders, since they aren't necessary, and capacity is limited. The api key will likely need to be updated, too, since the transition to travis.com. Appveyor also seems to be broken, but I suspect it is also a key issue. --- .travis.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2530b300..908be603 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,19 @@ language: rust -rust: - - stable - - beta - - nightly +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 -os: - - linux - - osx + - rust: stable + os: osx + env: TARGET=x86_64-apple-darwin -cache: +cache: timeout: 360 cargo: true