Skip to content

Commit

Permalink
Merge branch 'michelf:lib' into lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnywalker authored Jan 5, 2024
2 parents 060b9e5 + 5161316 commit 3dc4a8b
Show file tree
Hide file tree
Showing 15 changed files with 235 additions and 179 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI
on:
pull_request: null
push:
branches:
- lib
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'

name: Linting - PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: intl
- run: composer install --no-progress
# - run: composer codestyle
- run: composer phpstan
if: matrix.php == '8.1'
- run: composer tests
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
environment:
php:
version: '7.0.20'
version: '7.4'
nodes:
analysis:
project_setup:
Expand Down
25 changes: 9 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
language: php

sudo: false
matrix:
include:
- php: hhvm-3.18
dist: trusty
- php: 7.4
dist: bionic
- php: 8.0
dist: bionic

cache:
directories:
- $HOME/.composer/

# Run tests against all these PHP versions
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

before_script:
install:
- composer install --prefer-dist

script:
Expand Down
2 changes: 1 addition & 1 deletion License.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PHP Markdown Lib
Copyright (c) 2004-2018 Michel Fortin
Copyright (c) 2004-2022 Michel Fortin
<https://michelf.ca/>
All rights reserved.

Expand Down
Loading

0 comments on commit 3dc4a8b

Please sign in to comment.