mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 19:59:04 +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:
|
jobs:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
allow_failures:
|
||||||
|
- php: 'nightly'
|
||||||
include:
|
include:
|
||||||
- name: "Docker publish"
|
- name: "Docker publish"
|
||||||
if: NOT type = pull_request
|
if: NOT type = pull_request
|
||||||
|
@ -24,8 +26,14 @@ jobs:
|
||||||
before_script: echo "Before script"
|
before_script: echo "Before script"
|
||||||
script: bash ./docker/build
|
script: bash ./docker/build
|
||||||
after_success: echo "After success"
|
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'
|
php: '7.4'
|
||||||
|
env:
|
||||||
|
- COMPOSER_FLAGS=''
|
||||||
# Deploy release only on smallest supported PHP version
|
# Deploy release only on smallest supported PHP version
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- rm -f ocular.phar
|
- rm -f ocular.phar
|
||||||
|
@ -49,7 +57,7 @@ before_install:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --no-interaction --prefer-dist
|
- composer install --no-interaction --prefer-dist $COMPOSER_FLAGS
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker-compose exec shlink_db_ms /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Passw0rd!' -Q "CREATE DATABASE shlink_test;"
|
- 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
|
checkMissingIterableValueType: false
|
||||||
checkGenericClassInNonGenericObjectType: false
|
checkGenericClassInNonGenericObjectType: false
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#AbstractQuery::setParameters()#'
|
- '#AbstractQuery::setParameters\(\)#'
|
||||||
- '#mustRun()#'
|
- '#mustRun\(\)#'
|
||||||
- '#AssociationBuilder::setOrderBy#'
|
- '#AssociationBuilder::setOrderBy#'
|
||||||
|
|
Loading…
Add table
Reference in a new issue