mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 00:38:46 +03:00
Merge pull request #813 from acelaya-forks/feature/php8-ci
Added Builds on PHP nightly
This commit is contained in:
commit
4aef0fa728
2 changed files with 12 additions and 4 deletions
12
.travis.yml
12
.travis.yml
|
@ -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;"
|
||||
|
|
|
@ -2,6 +2,6 @@ parameters:
|
|||
checkMissingIterableValueType: false
|
||||
checkGenericClassInNonGenericObjectType: false
|
||||
ignoreErrors:
|
||||
- '#AbstractQuery::setParameters()#'
|
||||
- '#mustRun()#'
|
||||
- '#AbstractQuery::setParameters\(\)#'
|
||||
- '#mustRun\(\)#'
|
||||
- '#AssociationBuilder::setOrderBy#'
|
||||
|
|
Loading…
Reference in a new issue