Skip to content

Commit

Permalink
Fix deploy on Travis.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ehuss committed Feb 3, 2019
1 parent 2f40bb3 commit 6838f9a
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 6838f9a

Please sign in to comment.