mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
966632a724
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.
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
language: rust
|
|
|
|
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
|
|
|
|
before_cache:
|
|
- chmod -R a+r $HOME/.cargo
|
|
|
|
env:
|
|
global:
|
|
- CRATE_NAME=mdbook
|
|
|
|
script:
|
|
- cargo test --all
|
|
- cargo test --all --no-default-features
|
|
|
|
before_deploy:
|
|
- sh ci/before_deploy.sh
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
- secure: cURRWBr034iqBz/ifD7uOunBfNR30YxIXfgLX0osWz+iafkVbhDGYYz9sBmRraqO2P7L2koEXMADVb/md1kI2+ykiq/ml+l9zuEAZPVmvSGUN7ZD+7s+lu3l5OBPG5z175T+b2q2q2m8XVR7TW20ra4QbE0bq06KAoOyjSgQVBTSCYsL9uTsGwiVRMEqqJT/BmKhKJNkpGsTKyBSKkOXvfeAAbE260vXUDEN9TYdJ3fvteRrpwLX56ee64gIZUq0RjDc4SKIEqilM6iUtNMvurqaewYNGkiXKRruV6BPCHxEHo6NNT46kOJLBJTf7gZw//dWhSoWpg9P0gdAnPWm407kSa3F7aJ1eRShAFQ4BLyfz9efTqm+jP3fOp7Mm7igSh9w6caSRuOnSsUf5+raRQ8E5Y9HsWGzzpZQk24Fx9EGZ04EeDSdpZAFz+jcbMpHf8t2p4CEx0CCNwYvKx6EydMKbMF5QteQ8SQkXNLhv7Rz2OgtXWYZPRVCMfQfOplsi2InsLCrQxTgwh+6u654SqVSgaHG+IncEAxBrdWy4rHcg7qereUcKfcY3k96vaDxdn/T2c00Ig0aNFR91YnixGMd6J6tQgDcRK9jh6fUm1CCBE9hT+pNUmtgYKuWBoLZexUZFFnfuBed0WciBot1bGDDamndqKq0jJiAzg+GMHk=
|
|
file_glob: true
|
|
file: "$CRATE_NAME-$TRAVIS_TAG-$TARGET.*"
|
|
on:
|
|
condition: "$TRAVIS_RUST_VERSION = stable"
|
|
tags: true
|
|
skip_cleanup: true
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^v\d+\.\d+\.\d+.*$/
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|