Skip to content

Commit

Permalink
Merge pull request #78 from peter279k/issue_#77
Browse files Browse the repository at this point in the history
Resolves issue #77
  • Loading branch information
odan committed Jul 27, 2020
2 parents f6f7f10 + 083753e commit f29d6bc
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
/tests export-ignore
/build export-ignore
/docs export-ignore
/.github export-ignore
/build.xml export-ignore
/phpunit.xml export-ignore
/.gitattributes export-ignore
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: build

on: [push, pull_request]

jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, pdo, pdo_mysql, intl, zip
coverage: none

- name: Check PHP Version
run: php -v

- name: Check Composer Version
run: composer -V

- name: Check PHP Extensions
run: php -m

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: composer check-all
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit f29d6bc

Please sign in to comment.