Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jbroadway/analog
Browse files Browse the repository at this point in the history
  • Loading branch information
lux committed Apr 6, 2021
2 parents c95d09d + f9541cd commit d9b5db5
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 14 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "Continuous Integration"

on:
- push
- pull_request

env:
COMPOSER_FLAGS: "--no-interaction --prefer-dist"

jobs:
tests:
name: "CI"

runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"

dependencies: [highest]

steps:
- name: "Checkout"
uses: "actions/checkout@v2"

- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"

- name: "Install dependencies"
run: |
composer update ${{ env.COMPOSER_FLAGS }}
- name: "Run tests"
run: "composer exec phpunit -- --verbose"
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
],
"require": {
"psr/log": "1.*",
"php": ">=5.3.2"
"psr/log": "^1.0.1",
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5"
"phpunit/phpunit": "^8.5"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit d9b5db5

Please sign in to comment.