29 lines
417 B
YAML
29 lines
417 B
YAML
language: rust
|
|
sudo: required
|
|
|
|
rust:
|
|
- stable
|
|
- nightly
|
|
os: linux
|
|
matrix:
|
|
fast_finish: true
|
|
services:
|
|
- docker
|
|
|
|
cache: cargo
|
|
|
|
script:
|
|
- cargo test --all
|
|
before_deploy:
|
|
- ./ci/build-release.sh dip ${TRAVIS_TAG}-${TRAVIS_OS_NAME}
|
|
|
|
deploy:
|
|
- provider: releases
|
|
api_key: $AUTH_TOKEN
|
|
file:
|
|
- dip-*
|
|
on:
|
|
condition: $TRAVIS_RUST_VERSION = stable
|
|
tags: true
|
|
skip_cleanup: true
|
|
|