dip/.travis.yml
Michael Zhang 4c67a56b61
woops
2018-09-01 00:48:45 -05:00

30 lines
471 B
YAML

language: rust
sudo: required
rust:
- stable
- nightly
os: linux
matrix:
fast_finish: true
services:
- docker
cache: cargo
script:
- if [ -z "$TRAVIS_TAG" ]; then cargo test --all; fi
before_deploy:
- ./ci/build-release.sh dip ${TRAVIS_TAG}-${TRAVIS_OS_NAME}
deploy:
- provider: releases
api_key: $AUTH_TOKEN
file_glob: true
file:
- dip-*
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true
skip_cleanup: true