Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
switch from travis to githubs actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rodnaph committed Dec 28, 2020
1 parent 6c16b2f commit e8146a1
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 10 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "Integrate"

on:
pull_request:
pull_request_target:
push:
branches:
- master

jobs:
ci:
name: "Run Build"
runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- 7.1

services:
gotenberg:
image: thecodingmachine/gotenberg:6
ports:
- 3000:3000

steps:
- name: "Checkout"
uses: actions/checkout@v2

- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: composer:v2

- name: "Install Dependencies"
run: composer install

- name: "Run csfix"
run: composer run csfix

- name: "Run cscheck"
run: composer run cscheck

- name: "Run phpstan"
run: composer run phpstan

- name: "Run Tests"
run: composer run phpunit
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit e8146a1

Please sign in to comment.