Skip to content

Commit 06249eb

Browse files
committed
Move to github actions
1 parent 4be895c commit 06249eb

File tree

3 files changed

+7
-53
lines changed

3 files changed

+7
-53
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
coverage: yes
3838
- php-version: 8.0
3939
composer-flags: "--ignore-platform-reqs"
40+
symfony-deprecations: "max[self]=0"
4041

4142
steps:
4243
- name: "Checkout"
@@ -68,7 +69,9 @@ jobs:
6869
- name: "Install dependencies with composer"
6970
env:
7071
SYMFONY_REQUIRE: "${{ matrix.symfony-require }}"
71-
run: "composer update --no-interaction --no-progress ${{ matrix.composer-flags }}"
72+
run: |
73+
composer global require --no-progress --no-scripts --no-plugins symfony/flex
74+
composer update --no-interaction --no-progress ${{ matrix.composer-flags }}
7275
7376
- name: "Run PHPUnit"
7477
if: "${{ matrix.coverage != '' }}"
@@ -78,5 +81,7 @@ jobs:
7881
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
7982
8083
- name: "Run PHPUnit"
84+
env:
85+
SYMFONY_DEPRECATIONS_HELPER: "${{ matrix.symfony-deprecations }}"
8186
if: "${{ matrix.coverage == '' }}"
8287
run: "./phpunit"

.travis.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"require-dev": {
4949
"sensio/framework-extra-bundle": "^3.0.13|^4.0|^5.0",
50-
"symfony/phpunit-bridge": "^4.4|^5.0",
50+
"symfony/phpunit-bridge": "^5.2",
5151
"symfony/asset": "^3.4|^4.3",
5252
"symfony/form": "^3.4|^4.3",
5353
"symfony/validator": "^3.4|^4.3",

0 commit comments

Comments
 (0)