1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 12:53:34 +02:00

Move to github actions

This commit is contained in:
Pavel Djundik
2019-11-04 13:56:29 +02:00
parent 84a18a4190
commit d9c72e198f
3 changed files with 17 additions and 15 deletions
+16
View File
@@ -0,0 +1,16 @@
name: CI
on: [push]
jobs:
php:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.2, 7.3]
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: composer install --no-interaction --no-progress
- name: Run tests
run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning
-14
View File
@@ -1,14 +0,0 @@
sudo: false
language: php
php:
- 7.2
notifications:
email: false
install:
- composer install --no-interaction
script:
- php ./vendor/bin/phpunit --configuration Tests/phpunit.xml
after_script:
- php ./vendor/bin/php-coveralls -v
+1 -1
View File
@@ -25,7 +25,7 @@
],
"require":
{
"php": ">=5.5"
"php": ">=7.2"
},
"require-dev":
{