Skip to content

Commit e37f911

Browse files
committed
Use GitHub Actions
1 parent d908c62 commit e37f911

File tree

2 files changed

+39
-66
lines changed

2 files changed

+39
-66
lines changed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
tags:
7+
- '*'
8+
paths:
9+
- '**'
10+
- '!*.md'
11+
pull_request:
12+
paths:
13+
- '**'
14+
- '!*.md'
15+
jobs:
16+
tests:
17+
name: CI
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: [ ubuntu-latest ]
23+
php: [ '5.3', '5.4', '5.5', '5.6', '7.1', '7.2', '7.3', '7.4', '8.0' ]
24+
dependencies: [ 'lowest', 'highest' ]
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: ${{ matrix.php }}
30+
coverage: none
31+
32+
- if: matrix.dependencies == 'lowest'
33+
run: composer update --no-ansi --no-interaction --no-progress --prefer-lowest
34+
35+
- if: matrix.dependencies == 'highest'
36+
run: composer update --no-ansi --no-interaction --no-progress
37+
38+
- name: Run tests with phpunit
39+
run: php ./phpunit

.travis.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)