Skip to content

Commit

Permalink
Finalize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalopin committed Oct 5, 2021
1 parent 943e181 commit a3b52b2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/config.yml
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:
Expand Down Expand Up @@ -43,7 +46,7 @@ jobs:

release:
docker:
- image: circleci/php:7.1
- image: circleci/php:7.4
steps:
- run: sudo composer self-update

Expand All @@ -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:
Expand All @@ -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']
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<php>
<ini name="error_reporting" value="-1" />
<server name="SYMFONY_MAX_PHPUNIT_VERSION" value="8" />
<server name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
</php>

<testsuites>
Expand Down

0 comments on commit a3b52b2

Please sign in to comment.