mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
83 lines
2.4 KiB
YAML
83 lines
2.4 KiB
YAML
dist: xenial
|
|
language: rust
|
|
|
|
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
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- fakeroot
|
|
- musl-dev
|
|
- musl-tools
|
|
|
|
env:
|
|
global:
|
|
- PROJECT_NAME=watchexec
|
|
|
|
jobs:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- env: CARGO_CLIPPY=1 TARGET=x86_64-unknown-linux-gnu
|
|
- env: TARGET=i686-unknown-linux-musl
|
|
- env: TARGET=x86_64-unknown-linux-musl
|
|
- env: TARGET=x86_64-pc-windows-gnu
|
|
include:
|
|
# Default test+release versions
|
|
- os: windows
|
|
rust: stable
|
|
env: TARGET=x86_64-pc-windows-msvc
|
|
- os: osx
|
|
rust: stable
|
|
env: TARGET=x86_64-apple-darwin
|
|
- os: linux
|
|
rust: stable
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
# Extra targets, released on best-effort
|
|
- os: linux
|
|
rust: stable
|
|
env: TARGET=i686-unknown-linux-musl
|
|
- os: linux
|
|
rust: stable
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
- os: windows
|
|
rust: stable
|
|
env: TARGET=x86_64-pc-windows-gnu
|
|
|
|
# Minimum version advertised in readme
|
|
- os: windows
|
|
rust: 1.38.0
|
|
env: TARGET=x86_64-pc-windows-msvc
|
|
- os: linux
|
|
rust: 1.38.0
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
# Clippy only
|
|
- env: CARGO_CLIPPY=1 TARGET=x86_64-unknown-linux-gnu
|
|
|
|
before_install: ci/before.sh
|
|
script: ci/script.sh
|
|
|
|
before_deploy: ci/deploy.sh
|
|
deploy:
|
|
provider: releases
|
|
api_key:
|
|
secure: sbV2K4G2SA78U6d8SNZKExenWnuv1MsJ/9ovDDH4ucnzkpJEWDV2iwPklcu5oaRj3Sz4jYuYXToqcbJmSjL5eXjlk8rh2sG2LWT+8Up3X1vxte2XFXko15I/613rD8E/qWfS9FqzmuhMX+gb4P7OwWvVUwtw0IIuSGfBW/TEgUTFUZnUmgdm5ra8VnV3CvmTbn8botxbkdAUvk4C0g7yqHjlV7v9xU+DEXz2Y820cAH8ulu1ZU3JBm+XfVzZ09kByeQ7wnvyRuE4RhVtKK8nKUy+2JF7HX5N+0Du8z9ZHosV6+uoUz9i2OecYzAvL8xKiSkeHBqTxIDTeM4lnnDmnm5LsJ4aEU6pBSuWhglmflTbtAN7rBfYgZGJ6je6Gem5bOcCDtGI7+2qjf00Jo7vbmyK6D6Y6yxwf3W0QnOZcXrn9BWZLMMgochIBlVTTM1zFodcprpdHo8iHNVms3A++WqLnp1O0L/55id59VITGJNafy2vmXU/nlQi2MO03s3SF3jdHT7rchYjJRAcGR79QtCLiL3CbYnaQJsDNviyMm1VC6hkst0tXB8t12v2ht5NU7NEN8E31jnnRLRnwr7LUFRgOzFVF0M5jSqs3eCLnYyI7gCMKL2qOZ2yxJuD9bKsVZDpVvUqnaj5ifE+TMYoONPrc9W1hTyfcND9MhCsM+g=
|
|
file_glob: true
|
|
file: ${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.*
|
|
skip_cleanup: true
|
|
on:
|
|
repo: watchexec/watchexec
|
|
tags: true
|
|
rust: stable
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|