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: matrix:
fast_finish: true fast_finish: true
cache: cache: cargo
- ~/.cargo
script: script:
- cargo test --all - cargo test --all
before_deploy: before_deploy:
- cargo build --release --all - cargo build --release --all
- cargo build --release --examples
deploy: deploy:
- provider: releases - provider: releases
api_key: $AUTH_TOKEN api_key: $AUTH_TOKEN
file: file:
- target/release/dip - target/release/dip
- target/release/examples/github
on: on:
condition: $TRAVIS_RUST_VERSION = stable condition: $TRAVIS_RUST_VERSION = stable
tags: true tags: true