Replace Travis with GitHub actions
travis-ci.org does not run tests anymore
This commit is contained in:
parent
27439c7e14
commit
fe771886d9
2 changed files with 24 additions and 12 deletions
24
.github/workflows/ci.yml
vendored
Normal file
24
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
name: Tests
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-version:
|
||||
- '7.3'
|
||||
- '7.4'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use PHP ${{ matrix.php-version }}
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
tools: composer
|
||||
- run: composer install --no-progress
|
||||
- run: composer check-platform-reqs
|
||||
- run: composer lint
|
||||
- run: composer test
|
12
.travis.yml
12
.travis.yml
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
language: php
|
||||
php: 7.3
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- language-pack-fr
|
||||
install: composer install --no-progress
|
||||
script:
|
||||
- composer check-platform-reqs
|
||||
- composer lint
|
||||
- composer test
|
Loading…
Reference in a new issue