Skip to content

Commit

Permalink
Move some travis builds to actions to speed up feedback (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 21, 2021
1 parent 38dde7b commit 3ec4a77
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
max-parallel: 10
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']

steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: 'none'
extensions: mbstring

- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: composer update --no-interaction --no-progress --prefer-dist

- name: Run tests
run: make test
14 changes: 0 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ matrix:
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0
dist: xenial
- php: 7.1
dist: bionic
- php: 7.2
dist: bionic
- php: 7.3
dist: bionic
- php: 7.4
dist: bionic
- php: 8.0
dist: bionic
fast_finish: true

before_install:
Expand Down

0 comments on commit 3ec4a77

Please sign in to comment.