-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 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,8 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
aws-s3: circleci/[email protected] # use the AWS S3 orb in your config | ||
|
||
jobs: | ||
tests-php-cs: | ||
docker: | ||
|
@@ -43,7 +46,7 @@ jobs: | |
|
||
release: | ||
docker: | ||
- image: circleci/php:7.1 | ||
- image: circleci/php:7.4 | ||
steps: | ||
- run: sudo composer self-update | ||
|
||
|
@@ -64,6 +67,12 @@ jobs: | |
# Test | ||
- run: build/insight.phar list | ||
|
||
# Release | ||
- aws-s3/copy: | ||
from: build/insight.phar | ||
to: 's3://get.insight.symfony.com/insight.phar' | ||
arguments: '--acl public-read' | ||
|
||
workflows: | ||
version: 2 | ||
test: | ||
|
@@ -75,6 +84,6 @@ workflows: | |
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0'] | ||
- release: | ||
requires: [tests-phpunit] | ||
# filters: | ||
# branches: | ||
# only: ['master'] | ||
filters: | ||
branches: | ||
only: ['master'] |
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