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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue