build and deploy examples
This commit is contained in:
parent
de3ea85a8f
commit
b7f27cfa17
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue