Skip to content

Commit d3ac7c1

Browse files
committed
minor #4932 DX: Travis CI config - fix warnings and infos (kubawerlos)
This PR was squashed before being merged into the 2.15 branch (closes #4932). Discussion ---------- DX: Travis CI config - fix warnings and infos E.g https://travis-ci.org/github/FriendsOfPHP/PHP-CS-Fixer/jobs/676593896/config: > Build config validation — 2 warnings, 4 infos After clicking there are details: > Build config validation > `jobs.include.deploy`: deprecated key `skip_cleanup` (not supported in dpl v2, use cleanup) > `jobs.include.deploy`: deprecated key `skip_cleanup` (not supported in dpl v2, use cleanup) > `root`: missing `dist`, using the default `xenial` > `root`: missing `os`, using the default `linux` > `jobs.include.deploy`: key `api_key` is an alias for `token`, using `token` > `jobs.include.deploy`: key `api_key` is an alias for `token`, using `token` Commits ------- d8d3dbe DX: Travis CI config - fix warnings and infos
2 parents d945442 + d8d3dbe commit d3ac7c1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
dist: xenial
2+
os: linux
3+
14
language: php
25

36
git:
@@ -145,10 +148,10 @@ jobs:
145148
- test $(php dev-tools/info-extractor.php | jq .version.vnumber) == "\"$TRAVIS_TAG\""
146149
deploy:
147150
provider: releases
148-
api_key:
151+
token:
149152
secure: K9NKi7X1OPz898fxtVc1RfWrSI+4hTFFYOik932wTz1jC4dQJ64Khh1LV9frA1+JiDS3+R6TvmQtpzbkX3y4L75UrSnP1ADH5wfMYIVmydG3ZjTMo8SWQWHmRMh3ORAKTMMpjl4Q7EkRkLp6RncKe+FAFPP5mgv55mtIMaE4qUk=
150153
file: php-cs-fixer.phar
151-
skip_cleanup: true
154+
cleanup : false
152155
on:
153156
repo: FriendsOfPHP/PHP-CS-Fixer
154157
tags: true

0 commit comments

Comments
 (0)