2017-09-03 14:31:15 +00:00
|
|
|
language: rust
|
2016-03-07 23:13:49 +00:00
|
|
|
|
2018-08-21 16:18:20 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2018-04-07 07:47:08 +00:00
|
|
|
cache:
|
2018-07-24 22:11:27 +00:00
|
|
|
timeout: 360
|
2018-07-24 22:29:44 +00:00
|
|
|
cargo: true
|
2018-04-07 07:47:08 +00:00
|
|
|
|
2017-12-30 11:15:17 +00:00
|
|
|
before_cache:
|
2018-04-07 07:47:08 +00:00
|
|
|
- chmod -R a+r $HOME/.cargo
|
2017-12-30 11:15:17 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2018-04-07 07:47:08 +00:00
|
|
|
- CRATE_NAME=mdbook
|
2016-03-07 23:13:49 +00:00
|
|
|
|
2017-09-03 14:44:49 +00:00
|
|
|
script:
|
2018-08-21 16:18:20 +00:00
|
|
|
- cargo test --all
|
|
|
|
- cargo test --all --no-default-features
|
2017-09-03 14:44:49 +00:00
|
|
|
|
2016-03-07 23:13:49 +00:00
|
|
|
before_deploy:
|
2018-04-07 07:47:08 +00:00
|
|
|
- sh ci/before_deploy.sh
|
2016-03-07 23:13:49 +00:00
|
|
|
|
|
|
|
deploy:
|
2018-04-07 07:47:08 +00:00
|
|
|
provider: releases
|
2016-03-07 23:13:49 +00:00
|
|
|
api_key:
|
2018-04-07 07:47:08 +00:00
|
|
|
- secure: cURRWBr034iqBz/ifD7uOunBfNR30YxIXfgLX0osWz+iafkVbhDGYYz9sBmRraqO2P7L2koEXMADVb/md1kI2+ykiq/ml+l9zuEAZPVmvSGUN7ZD+7s+lu3l5OBPG5z175T+b2q2q2m8XVR7TW20ra4QbE0bq06KAoOyjSgQVBTSCYsL9uTsGwiVRMEqqJT/BmKhKJNkpGsTKyBSKkOXvfeAAbE260vXUDEN9TYdJ3fvteRrpwLX56ee64gIZUq0RjDc4SKIEqilM6iUtNMvurqaewYNGkiXKRruV6BPCHxEHo6NNT46kOJLBJTf7gZw//dWhSoWpg9P0gdAnPWm407kSa3F7aJ1eRShAFQ4BLyfz9efTqm+jP3fOp7Mm7igSh9w6caSRuOnSsUf5+raRQ8E5Y9HsWGzzpZQk24Fx9EGZ04EeDSdpZAFz+jcbMpHf8t2p4CEx0CCNwYvKx6EydMKbMF5QteQ8SQkXNLhv7Rz2OgtXWYZPRVCMfQfOplsi2InsLCrQxTgwh+6u654SqVSgaHG+IncEAxBrdWy4rHcg7qereUcKfcY3k96vaDxdn/T2c00Ig0aNFR91YnixGMd6J6tQgDcRK9jh6fUm1CCBE9hT+pNUmtgYKuWBoLZexUZFFnfuBed0WciBot1bGDDamndqKq0jJiAzg+GMHk=
|
2017-12-30 11:15:17 +00:00
|
|
|
file_glob: true
|
|
|
|
file: "$CRATE_NAME-$TRAVIS_TAG-$TARGET.*"
|
2016-03-07 23:13:49 +00:00
|
|
|
on:
|
2017-12-30 11:15:17 +00:00
|
|
|
condition: "$TRAVIS_RUST_VERSION = stable"
|
2016-03-07 23:13:49 +00:00
|
|
|
tags: true
|
2017-12-30 11:15:17 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2018-04-07 07:47:08 +00:00
|
|
|
- master
|
2018-08-03 00:10:11 +00:00
|
|
|
- /^v\d+\.\d+\.\d+.*$/
|
2016-03-07 23:13:49 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|