2016-10-14 02:34:47 +02:00
|
|
|
language: rust
|
|
|
|
cache: cargo
|
2018-08-21 05:12:00 +02:00
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
2016-10-14 02:34:47 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2016-10-14 03:32:15 +02:00
|
|
|
- PROJECT_NAME=watchexec
|
2016-10-14 02:34:47 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-08-21 05:12:00 +02:00
|
|
|
# Default test+release version
|
2018-08-21 05:57:52 +02:00
|
|
|
- os: osx
|
|
|
|
rust: stable
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
2016-10-14 13:53:45 +02:00
|
|
|
- os: linux
|
2016-11-15 23:16:40 +01:00
|
|
|
rust: stable
|
2016-10-14 13:53:45 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
2018-08-21 05:57:52 +02:00
|
|
|
|
|
|
|
# Extra targets for linux only
|
|
|
|
- os: linux
|
2016-11-15 23:16:40 +01:00
|
|
|
rust: stable
|
2018-08-21 05:57:52 +02:00
|
|
|
env: TARGET=i686-unknown-linux-musl
|
|
|
|
- os: linux
|
|
|
|
rust: stable
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2016-10-14 02:34:47 +02:00
|
|
|
|
2018-08-21 05:12:00 +02:00
|
|
|
# Minimum version advertised in readme
|
|
|
|
- os: linux
|
2018-08-21 05:18:13 +02:00
|
|
|
rust: 1.20.0
|
2018-08-21 05:12:00 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
- os: osx
|
2018-08-21 05:18:13 +02:00
|
|
|
rust: 1.20.0
|
2018-08-21 05:12:00 +02:00
|
|
|
env: TARGET=x86_64-apple-darwin
|
|
|
|
|
|
|
|
# Non-critical but interesting for upcoming Rust changes
|
|
|
|
- os: linux
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
- os: osx
|
|
|
|
rust: nightly
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
|
|
|
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2018-08-21 05:25:43 +02:00
|
|
|
fast_finish: true
|
2018-08-21 05:12:00 +02:00
|
|
|
|
2018-08-21 06:28:42 +02:00
|
|
|
before_script: ci/before_script.sh
|
|
|
|
script: ci/script.sh
|
2016-10-14 03:32:15 +02:00
|
|
|
|
2018-08-21 06:28:42 +02:00
|
|
|
before_deploy: ci/before_deploy.sh
|
2016-10-14 03:32:15 +02:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
2018-08-21 05:12:00 +02:00
|
|
|
secure: sbV2K4G2SA78U6d8SNZKExenWnuv1MsJ/9ovDDH4ucnzkpJEWDV2iwPklcu5oaRj3Sz4jYuYXToqcbJmSjL5eXjlk8rh2sG2LWT+8Up3X1vxte2XFXko15I/613rD8E/qWfS9FqzmuhMX+gb4P7OwWvVUwtw0IIuSGfBW/TEgUTFUZnUmgdm5ra8VnV3CvmTbn8botxbkdAUvk4C0g7yqHjlV7v9xU+DEXz2Y820cAH8ulu1ZU3JBm+XfVzZ09kByeQ7wnvyRuE4RhVtKK8nKUy+2JF7HX5N+0Du8z9ZHosV6+uoUz9i2OecYzAvL8xKiSkeHBqTxIDTeM4lnnDmnm5LsJ4aEU6pBSuWhglmflTbtAN7rBfYgZGJ6je6Gem5bOcCDtGI7+2qjf00Jo7vbmyK6D6Y6yxwf3W0QnOZcXrn9BWZLMMgochIBlVTTM1zFodcprpdHo8iHNVms3A++WqLnp1O0L/55id59VITGJNafy2vmXU/nlQi2MO03s3SF3jdHT7rchYjJRAcGR79QtCLiL3CbYnaQJsDNviyMm1VC6hkst0tXB8t12v2ht5NU7NEN8E31jnnRLRnwr7LUFRgOzFVF0M5jSqs3eCLnYyI7gCMKL2qOZ2yxJuD9bKsVZDpVvUqnaj5ifE+TMYoONPrc9W1hTyfcND9MhCsM+g=
|
2016-10-14 03:32:15 +02:00
|
|
|
file_glob: true
|
|
|
|
file: ${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.*
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2018-08-21 05:12:00 +02:00
|
|
|
repo: watchexec/watchexec
|
2016-10-14 03:32:15 +02:00
|
|
|
tags: true
|
2018-08-21 05:12:00 +02:00
|
|
|
rust: stable
|
2016-10-14 02:34:47 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|