Skip to content

Commit b6c56d6

Browse files
committed
Replace Travis (now unusable) with GitHub Actions
1 parent cda26a3 commit b6c56d6

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Build & test
6+
runs-on: ubuntu-latest
7+
8+
strategy:
9+
matrix:
10+
node-version: [10.x, 12.x, 14.x, 16.x, '*']
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: actions/setup-node@v2
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
19+
- uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: '7.0'
22+
23+
- run: npm ci
24+
- run: npm test
25+
- run: npm run codeclimate

.travis.yml

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

0 commit comments

Comments
 (0)