Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3b52b2

Browse files
committed
Finalize CI
1 parent 943e181 commit a3b52b2

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
aws-s3: circleci/[email protected] # use the AWS S3 orb in your config
5+
36
jobs:
47
tests-php-cs:
58
docker:
@@ -43,7 +46,7 @@ jobs:
4346

4447
release:
4548
docker:
46-
- image: circleci/php:7.1
49+
- image: circleci/php:7.4
4750
steps:
4851
- run: sudo composer self-update
4952

@@ -64,6 +67,12 @@ jobs:
6467
# Test
6568
- run: build/insight.phar list
6669

70+
# Release
71+
- aws-s3/copy:
72+
from: build/insight.phar
73+
to: 's3://get.insight.symfony.com/insight.phar'
74+
arguments: '--acl public-read'
75+
6776
workflows:
6877
version: 2
6978
test:
@@ -75,6 +84,6 @@ workflows:
7584
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0']
7685
- release:
7786
requires: [tests-phpunit]
78-
# filters:
79-
# branches:
80-
# only: ['master']
87+
filters:
88+
branches:
89+
only: ['master']

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<php>
1515
<ini name="error_reporting" value="-1" />
1616
<server name="SYMFONY_MAX_PHPUNIT_VERSION" value="8" />
17+
<server name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
1718
</php>
1819

1920
<testsuites>

0 commit comments

Comments
 (0)