~umgeher/lighthouse-php-analog

d9b5db551ccd91d3ce41a7425da6672d038ee6b1 — lux 3 years ago c95d09d + f9541cd
Merge branch 'master' of github.com:jbroadway/analog
3 files changed, 44 insertions(+), 14 deletions(-)

A .github/workflows/ci.yml
D .travis.yml
M composer.json
A .github/workflows/ci.yml => .github/workflows/ci.yml +41 -0
@@ 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"

D .travis.yml => .travis.yml +0 -11
@@ 1,11 0,0 @@
language: php
php:
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4

before_script: composer install --no-interaction --prefer-source
script:
  - vendor/bin/phpunit --coverage-text --verbose

M composer.json => composer.json +3 -3
@@ 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": {