build and deploy examples

This commit is contained in:
Michael Zhang 2018-08-26 21:53:28 -05:00
parent de3ea85a8f
commit b7f27cfa17
No known key found for this signature in database
GPG key ID: A1B65B603268116B

View file

@ -9,19 +9,20 @@ os: linux
matrix:
fast_finish: true
cache:
- ~/.cargo
cache: cargo
script:
- cargo test --all
before_deploy:
- cargo build --release --all
- cargo build --release --examples
deploy:
- provider: releases
api_key: $AUTH_TOKEN
file:
- target/release/dip
- target/release/examples/github
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true