Skip to content

Commit

Permalink
EP-724 Migrating to Github Actions (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
Vincent Boutour authored Apr 7, 2021
1 parent 8afc6b4 commit 6ae849e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 16 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master

defaults:
run:
shell: bash

jobs:
build:
name: PHP
runs-on: ubuntu-latest

strategy:
matrix:
php:
- 5.4
- 5.5
- 5.6
- 7.1

services:
redis:
image: redis

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: redis

- name: Composer
run: composer install --prefer-source

- name: PHP Unit
run: ./vendor/bin/phpunit
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

0 comments on commit 6ae849e

Please sign in to comment.