dip/.travis.yml
2018-09-17 21:29:50 -05:00

35 lines
603 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.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
- provider: script
script: ./ci/book.sh
skip_cleanup: true
on:
condition: $TRAVIS_RUST_VERSION = stable
tags: true