Skip to content

Commit 70d5411

Browse files
committed
Droped scrutinizer and travis in favor of github actions
1 parent 4fc112c commit 70d5411

File tree

3 files changed

+39
-51
lines changed

3 files changed

+39
-51
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Continuous Integration
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- "master"
8+
9+
jobs:
10+
tests:
11+
name: "Tests"
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
include:
17+
- php-version: 7.1
18+
symfony-version: 4.4.*
19+
- php-version: 7.4
20+
symfony-version: 4.4.*
21+
- php-version: 7.2
22+
symfony-version: 5.1.*
23+
- php-version: 7.4
24+
symfony-version: 5.1.*
25+
26+
steps:
27+
- name: "Checkout"
28+
uses: actions/[email protected]
29+
30+
- name: "Install dependencies with composer"
31+
run: |
32+
composer require --no-update --dev symfony/symfony:${{ matrix.symfony-version }}
33+
composer update --no-interaction --no-progress --no-suggest
34+
35+
- name: "Run checkstyle with squizlabs/php_codesniffer"
36+
run: vendor/bin/phpcs
37+
38+
- name: "Run tests with phpunit/phpunit"
39+
run: vendor/bin/phpunit --coverage-text

.scrutinizer.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)