Skip to content

Commit 3ec4a77

Browse files
Move some travis builds to actions to speed up feedback (#405)
1 parent 38dde7b commit 3ec4a77

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
name: Build
9+
runs-on: ubuntu-latest
10+
strategy:
11+
max-parallel: 10
12+
matrix:
13+
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
14+
15+
steps:
16+
- name: Set up PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: ${{ matrix.php }}
20+
coverage: 'none'
21+
extensions: mbstring
22+
23+
- name: Checkout code
24+
uses: actions/checkout@v2
25+
26+
- name: Install dependencies
27+
run: composer update --no-interaction --no-progress --prefer-dist
28+
29+
- name: Run tests
30+
run: make test

.travis.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@ matrix:
1414
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
1515
- php: 5.5
1616
dist: trusty
17-
- php: 5.6
18-
dist: xenial
19-
- php: 7.0
20-
dist: xenial
21-
- php: 7.1
22-
dist: bionic
23-
- php: 7.2
24-
dist: bionic
25-
- php: 7.3
26-
dist: bionic
27-
- php: 7.4
28-
dist: bionic
29-
- php: 8.0
30-
dist: bionic
3117
fast_finish: true
3218

3319
before_install:

0 commit comments

Comments
 (0)