Skip to content

Commit

Permalink
switch do github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Dec 2, 2020
1 parent e9fb3d7 commit c90c5ec
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 29 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: QA

on:
pull_request:
branches:
- master

push:
branches:
- master
- v*

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
dependencies: ['--prefer-lowest', '']

name: PHP ${{ matrix.php }} ${{ matrix.dependencies }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, mbstring, tokenizer
coverage: none

- run: composer update --no-progress ${{ matrix.dependecies }}
- run: vendor/bin/phpstan analyse --configuration phpstan.neon --level max src
- run: vendor/bin/tester -C tests
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tracy/tracy": "~2.4"
},
"require-dev": {
"mockery/mockery": "~1.0",
"mockery/mockery": "~1.3.3",
"nette/tester": "~2.0",
"phpstan/phpstan": "0.12.58"
},
Expand Down

0 comments on commit c90c5ec

Please sign in to comment.