Switch to a deploy provider

This commit is contained in:
Alex Crichton 2018-12-22 10:02:14 -08:00
parent 15c0837b3b
commit 6137648bc8

View File

@ -6,12 +6,16 @@ matrix:
- rust: nightly
- name: "master doc to gh-pages"
rust: nightly
if: branch = master
script:
- cargo doc --no-deps
- curl -O https://raw.githubusercontent.com/alexcrichton/rust-travis-deploy/master/travis-deploy.rs
- rustc travis-deploy.rs
- (cd target/doc && ../../travis-deploy)
deploy:
provider: script
script:
- curl -O https://raw.githubusercontent.com/alexcrichton/rust-travis-deploy/master/travis-deploy.rs
- rustc travis-deploy.rs
- (cd target/doc && ../../travis-deploy)
on:
branch: master
script:
- cargo build --verbose
- cargo test --verbose