Fix deprecated Travis config keys

* root: deprecated key sudo (The key `sudo` has no effect anymore.)
* deploy: deprecated key skip_cleanup (not supported in dpl v2, use
  cleanup)
This commit is contained in:
Matthias Reitinger 2020-10-03 22:12:31 +02:00 committed by David Peter
parent 74c3431a2b
commit 9a49d0d6d0
1 changed files with 1 additions and 3 deletions

View File

@ -52,8 +52,6 @@ matrix:
rust: 1.36.0
env: TARGET=x86_64-apple-darwin
sudo: required
before_install:
- ci/before_install.bash
@ -94,7 +92,7 @@ deploy:
- $PROJECT_NAME-$TRAVIS_TAG-$TARGET.*
- $PROJECT_NAME*.deb
# don't delete artifacts from previous stage
skip_cleanup: true
cleanup: false
on:
# deploy only if we push a tag
tags: true