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.
This commit is contained in:
Eric Huss 2019-02-03 15:45:02 -08:00
parent c068703028
commit 966632a724
1 changed files with 12 additions and 8 deletions

View File

@ -1,15 +1,19 @@
language: rust language: rust
rust: matrix:
- stable include:
- beta - rust: stable
- nightly 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: - rust: stable
- linux os: osx
- osx env: TARGET=x86_64-apple-darwin
cache: cache:
timeout: 360 timeout: 360
cargo: true cargo: true