dip/.travis.yml

31 lines
471 B
YAML
Raw Normal View History

2018-08-16 01:52:16 +00:00
language: rust
2018-09-01 05:04:04 +00:00
sudo: required
2018-08-16 01:52:16 +00:00
rust:
- stable
- nightly
os: linux
matrix:
fast_finish: true
2018-09-01 05:04:04 +00:00
services:
- docker
2018-08-16 01:52:16 +00:00
2018-08-27 02:53:28 +00:00
cache: cargo
2018-08-16 01:52:16 +00:00
script:
2018-09-01 05:12:29 +00:00
- if [ -z "$TRAVIS_TAG" ]; then cargo test --all; fi
2018-08-16 01:58:37 +00:00
before_deploy:
2018-09-01 05:04:04 +00:00
- ./ci/build-release.sh dip ${TRAVIS_TAG}-${TRAVIS_OS_NAME}
2018-08-16 01:52:16 +00:00
2018-08-16 01:58:37 +00:00
deploy:
- provider: releases
api_key: $AUTH_TOKEN
2018-09-01 05:48:45 +00:00
file_glob: true
2018-08-16 01:58:37 +00:00
file:
2018-09-01 05:04:04 +00:00
- dip-*
2018-08-16 01:58:37 +00:00
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
skip_cleanup: true