Skip to content

Commit

Permalink
Migrate Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
boronine committed May 3, 2023
1 parent 9bb112a commit 0636ac9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test

on:
- pull_request
- push

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '5.6', '7.0', '7.1' ]
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: composer install --prefer-dist
- name: Test
run: vendor/bin/phpunit
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HSLuv-php

[![Build Status](https://travis-ci.org/hsluv/hsluv-php.svg?branch=master)](https://travis-ci.org/hsluv/hsluv-php)
[![Build Status](https://github.com/hsluv/hsluv-php/actions/workflows/test.yml/badge.svg)](https://github.com/hsluv/hsluv-php/actions/workflows/test.yml)

Port to PHP (5.6+) from Python / JS of [HSLuv](http://www.hsluv.org/) (revision 4).

Expand Down

0 comments on commit 0636ac9

Please sign in to comment.