Merge pull request #813 from acelaya-forks/feature/php8-ci

Added Builds on PHP nightly
This commit is contained in:
Alejandro Celaya 2020-07-24 11:00:43 +02:00 committed by GitHub
commit 4aef0fa728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -15,6 +15,8 @@ cache:
jobs:
fast_finish: true
allow_failures:
- php: 'nightly'
include:
- name: "Docker publish"
if: NOT type = pull_request
@ -24,8 +26,14 @@ jobs:
before_script: echo "Before script"
script: bash ./docker/build
after_success: echo "After success"
- name: "CI"
- name: "CI - 8.0"
php: 'nightly'
env:
- COMPOSER_FLAGS='--ignore-platform-reqs'
- name: "CI - 7.4"
php: '7.4'
env:
- COMPOSER_FLAGS=''
# Deploy release only on smallest supported PHP version
before_deploy:
- rm -f ocular.phar
@ -49,7 +57,7 @@ before_install:
install:
- composer self-update
- composer install --no-interaction --prefer-dist
- composer install --no-interaction --prefer-dist $COMPOSER_FLAGS
before_script:
- docker-compose exec shlink_db_ms /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Passw0rd!' -Q "CREATE DATABASE shlink_test;"

View file

@ -2,6 +2,6 @@ parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '#AbstractQuery::setParameters()#'
- '#mustRun()#'
- '#AbstractQuery::setParameters\(\)#'
- '#mustRun\(\)#'
- '#AssociationBuilder::setOrderBy#'