Skip to content

Commit b7a2a92

Browse files
authored
Merge pull request #10 from SimonFrings/actions
Use GitHub actions for continuous integration (CI)
2 parents f108bd1 + befacf6 commit b7a2a92

File tree

3 files changed

+37
-20
lines changed

3 files changed

+37
-20
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
PHPUnit:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
php:
13+
- 5.6
14+
- 5.3
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
coverage: xdebug
22+
- run: composer install
23+
- run: vendor/bin/phpunit --coverage-text
24+
25+
PHPUnit-hhvm:
26+
name: PHPUnit (HHVM)
27+
runs-on: ubuntu-18.04
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: azjezz/setup-hhvm@v1
31+
with:
32+
version: lts-3.30
33+
- run: hhvm $(which composer) install
34+
- run: hhvm vendor/bin/phpunit

.travis.yml

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

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# clue/json-stream [![Build Status](https://travis-ci.org/clue/php-json-stream.svg?branch=master)](https://travis-ci.org/clue/php-json-stream)
1+
# clue/json-stream
2+
3+
[![CI status](https://github.com/clue/php-json-stream/workflows/CI/badge.svg)](https://github.com/clue/php-json-stream/actions)
24

35
A really simple and lightweight, incremental parser for [JSON streaming](https://en.wikipedia.org/wiki/JSON_Streaming)
46
(concatenated JSON and [line delimited JSON](https://en.wikipedia.org/wiki/Line_Delimited_JSON)), in PHP.

0 commit comments

Comments
 (0)