dip/.travis.yml

31 lines
461 B
YAML
Raw Normal View History

2018-08-16 01:52:16 +00:00
language: rust
sudo: false
rust:
- stable
- beta
- nightly
os: linux
matrix:
fast_finish: true
2018-08-27 02:53:28 +00:00
cache: cargo
2018-08-16 01:52:16 +00:00
script:
- cargo test --all
2018-08-16 01:58:37 +00:00
before_deploy:
2018-08-16 01:52:16 +00:00
- cargo build --release --all
2018-08-27 02:53:28 +00:00
- cargo build --release --examples
2018-08-16 01:52:16 +00:00
2018-08-16 01:58:37 +00:00
deploy:
- provider: releases
api_key: $AUTH_TOKEN
file:
- target/release/dip
2018-08-27 02:53:28 +00:00
- target/release/examples/github
2018-08-16 01:58:37 +00:00
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
skip_cleanup: true