Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions #18

Merged
merged 4 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: https://bit.ly/CodelyTvPro
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: ['7.2', '7.3', '7.4']

name: Test on ${{ matrix.os }} with PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
coverage: none

- name: Install dependencies
run: composer install --ignore-platform-reqs

- name: Run the tests
run: composer phpunit
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"boilerplate"
],
"homepage": "https://codely.tv",
"time": "2018-07-18",
"license": "MIT",
"authors": [
{
Expand All @@ -27,14 +26,14 @@
}
],
"require": {
"php": "^7.2"
"php": ">=7.2"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^1.0",
"jakub-onderka/php-console-highlighter": "^0.3",
"squizlabs/php_codesniffer": "^3.3",
"jakub-onderka/php-console-highlighter": "^0.4",
"squizlabs/php_codesniffer": "^3.5",
"phpunit/phpunit": "^7.2",
"symfony/var-dumper": "^4.1"
"symfony/var-dumper": "^4.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading