-
-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: re-use phar from previous job
- Loading branch information
1 parent
51e00e4
commit ac00919
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
os: linux | ||
dist: xenial | ||
dist: bionic | ||
language: php | ||
|
||
php: | ||
|
@@ -45,12 +45,10 @@ jobs: | |
name: "Deploy PHAR to https://github.com/rectorphp/rector-prefixed" | ||
php: 7.2 | ||
script: | ||
- cd compiler | ||
- composer install | ||
- bin/compile | ||
# reuse tmp/rector.phar from previous job | ||
- git clone https://${GITHUB_TOKEN}@github.com/rectorphp/rector-prefixed.git rector-prefixed > /dev/null 2>&1 | ||
- cp ../tmp/rector.phar rector-prefixed/rector.phar | ||
- cp ../tmp/rector.phar rector-prefixed/rector | ||
- cp tmp/rector.phar rector-prefixed/rector.phar | ||
- cp tmp/rector.phar rector-prefixed/rector | ||
- cd rector-prefixed | ||
- git config user.email "[email protected]" | ||
- git config user.name "Travis CI" | ||
|
@@ -180,9 +178,6 @@ jobs: | |
- name: Documentation | ||
- os: windows | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters