diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml index 0e78d82b..53b754ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,12 @@ language: rust -sudo: false + +sudo: required +services: + - docker git: depth: 1 -cache: cargo - os: - linux - osx @@ -15,28 +16,25 @@ rust: - stable - nightly -env: - - CLIPPY="true" - - CLIPPY="" - -install: - - if [ -n "$CLIPPY" ]; then rustup component add clippy-preview; fi - matrix: fast_finish: true - exclude: - - rust: stable - env: CLIPPY="true" - - rust: nightly - env: CLIPPY="" allow_failures: - rust: nightly - os: windows -script: - - if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install llvm --norestart --nosilent; fi - - - if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi - - if [ -z "$CLIPPY" ]; then cargo test; fi - - if [ -z "$CLIPPY" ]; then cargo test -p font; fi - - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cp target/debug/winpty-agent.exe target/debug/deps && cargo test -p winpty; fi +install: ci/install.sh +script: ci/script.sh +before_deploy: ci/before_deploy.sh + +deploy: + provider: releases + api_key: + secure: G6JZgC5qKZyxEmuu2eMscDO45iOhBjiCSKuO8gxywqm+4DbMZm7y2OSbQCEmnIFqEgi+DLkrH/A7e8LDngQj3lBvRnWkIcszG5ubDm8jsqckXXxjI0cy5q8jJ7s5zZXH2IdXifY59KN9V4iHPwCJlyEE7Aj9JrJLFaVhvaowlSYib9DuDibDX/2u8qZ+gP2D/TntiBlFi8SgiDPd7GrZWmNsxJR9edyYbKx9izROp+4q7KAa0Xqak/Zvg72JZnARiKPmBxESEoYYXFcRgRZD9VvjmQ/il6WcHlGSqqn1TRBtIVl8L/1I5/xBJ6KMegP9Jlh7ybm1JPfX108V5d9a9CyqvRYHrhbkHkf5oktizsgw2WyANwiBhEngliMFuUyT0826BEPtkA4TiD7lQXyvO749INdJsqUlMLLuQNpU9/7ShBcRapbGp6AjWH8yxV9ciNMpNexAaxkupYc2NaU6EAC/C34HAtTdfN+gyvrtnF1ISrPmmGj8YQRiBUsa4TxghsNPbPHWAgMfR5lFp3dONz0oIydhW/AFgpn+7BVvoIW2z8hXiRttseZHv6akeSjFC5vYObR3UdL/NiuvCjZRiYryL0Be/rI83ug8xELVFBBcv4PxcHEsXWT7EMd3QTiPoCwNKoSoBLk8hPFPAGRXULiSDFENKoJAc4A7zJyMiYY= + skip_cleanup: true + file_glob: true + file: "./target/deploy/*" + on: + tags: true + rust: stable + repo: jwilm/alacritty + branch: master |