1
Fork 0
mdbook-toc/.travis.yml

63 lines
1.7 KiB
YAML
Raw Normal View History

# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
2018-09-13 12:26:37 +00:00
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=mdbook-toc
matrix:
include:
# Linux
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-gnu
# OSX
- env: TARGET=x86_64-apple-darwin
os: osx
before_install:
- set -e
- rustup self update
2018-09-13 12:26:37 +00:00
install:
- sh ci/install.sh
- source ~/.cargo/env || true
2018-09-13 12:26:37 +00:00
script:
- bash ci/script.sh
after_script: set +e
before_deploy:
- sh ci/before_deploy.sh
deploy:
api_key:
secure: "VE2CE39FAa8lSNZ4XhjN8DNMpylVmr/6PC8JvHjjhrKUfCWS6LrvYh3iSKX6bg8JHeFZWaldHK1YyVA9gJYzBjKpadKj1Ga0Hu2lFjYzFV8BBgBp2/cf63ERDbPbwbl/2OZoyEC6JrohbDHRJ34BP3jvwa80t3cc4JsiKYN6cJMVU9zsYZYuIn7uiDRJnAaxkOWxmKY1vfka/oS8x6qjn84NrhXexFNWVeJ/dB+S4JeCqa4OhiupHSRurxeFgcOzvQtaxZFumKWGX0uAXKeBuGK8lQDwIOh8yNAEbuLat8tW+zapy3Yjnqt4p0D6HdcSRhJEq5FyI3h1NruDScHcn2/TVm0Jiwl4xM9DhnrRCOW04KRl8a54cs95tC0TenboxNnW9E9J0MMq/zxFFbHhxHcH0Kn4DMjLNsxj13CaIsc8/tkUGJyq3+FrUOFI5UlEj15VQqhTnHG/vuuudRQuc7cnfUA7BWPZdhNcdTH50z4JsOSejHHBBABLTJqGY7Ra5iCTrCfE1yYbziR8QaPfwB3HNnN8JyKZchWbXO0Bv4Db0yEbKzoq7wlYJD2jp4L+UvFox0yZ0/ZZVFvOuk33ofMcXEigxt1MHrl2+0/4s//OtAn+wII7RJSit4uuzM5nn38LtMDrMGC5w+6hf2VlbUqBOjg36r7zcpx/Olpk+LM="
file_glob: true
file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
provider: releases
skip_cleanup: true
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
branches:
only:
# release tags
- /^\d+\.\d+\.\d+.*$/
- master
2018-09-14 22:27:47 +00:00
2018-09-13 12:26:37 +00:00
notifications:
2018-09-14 22:27:47 +00:00
email: false