watchexec/.travis.yml

84 lines
2.4 KiB
YAML
Raw Normal View History

2019-10-28 01:01:55 +01:00
dist: xenial
2016-10-14 02:34:47 +02:00
language: rust
2019-10-28 01:01:55 +01:00
cache:
- directories:
- $HOME/.cargo
- target/debug/deps
- target/$TARGET/debug/deps
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
2016-10-14 02:34:47 +02:00
2018-09-09 04:53:11 +02:00
addons:
apt:
packages:
- fakeroot
2019-10-28 01:05:33 +01:00
- musl-dev
2019-10-28 01:01:55 +01:00
- musl-tools
2018-09-09 04:53:11 +02:00
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
2019-10-28 01:13:09 +01:00
jobs:
2019-10-28 01:01:55 +01:00
fast_finish: true
allow_failures:
2019-10-28 08:00:47 +01:00
- env: CARGO_CLIPPY=1 TARGET=x86_64-unknown-linux-gnu
2019-10-28 01:01:55 +01:00
- env: TARGET=i686-unknown-linux-musl
- env: TARGET=x86_64-unknown-linux-musl
2019-10-28 01:05:33 +01:00
- env: TARGET=x86_64-pc-windows-gnu
2016-10-14 02:34:47 +02:00
include:
2019-10-28 01:01:55 +01:00
# Default test+release versions
2019-10-28 01:05:33 +01:00
- os: windows
rust: stable
2019-10-28 01:01:55 +01:00
env: TARGET=x86_64-pc-windows-msvc
- 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
2019-10-28 01:01:55 +01:00
# Extra targets, released on best-effort
- os: linux
2016-11-15 23:16:40 +01:00
rust: stable
env: TARGET=i686-unknown-linux-musl
- os: linux
rust: stable
env: TARGET=x86_64-unknown-linux-musl
2019-10-28 01:05:33 +01:00
- os: windows
2019-10-28 01:01:55 +01:00
rust: stable
env: TARGET=x86_64-pc-windows-gnu
2016-10-14 02:34:47 +02:00
2018-08-21 05:12:00 +02:00
# Minimum version advertised in readme
2019-10-28 01:01:55 +01:00
- os: windows
rust: 1.38.0
2019-10-28 01:18:09 +01:00
env: TARGET=x86_64-pc-windows-msvc
2018-08-21 05:12:00 +02:00
- os: linux
2019-10-27 11:49:52 +01:00
rust: 1.38.0
2018-08-21 05:12:00 +02:00
env: TARGET=x86_64-unknown-linux-gnu
2019-10-28 01:01:55 +01:00
# Clippy only
2019-10-28 01:19:12 +01:00
- env: CARGO_CLIPPY=1 TARGET=x86_64-unknown-linux-gnu
2019-10-28 01:01:55 +01:00
before_install: ci/before.sh
2018-08-21 06:28:42 +02:00
script: ci/script.sh
2016-10-14 03:32:15 +02:00
2019-10-28 01:01:55 +01:00
before_deploy: ci/deploy.sh
2016-10-14 03:32:15 +02:00
deploy:
provider: releases
2019-10-28 07:05:12 +01:00
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}.*
2019-10-28 07:05:12 +01:00
skip_cleanup: true
2016-10-14 03:32:15 +02:00
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