Fixed CI to run primarily on PHP 7.0 and 7.1

This commit is contained in:
Abel Hoogeveen 2017-09-22 15:42:54 +02:00
parent e017f5648e
commit e8b52984a6
2 changed files with 13 additions and 41 deletions

View File

@ -8,7 +8,7 @@ stages:
- deploy
build:composer:
image: php:5.6
image: php:7.1
stage: build
script:
- curl -sS https://getcomposer.org/installer | php
@ -18,16 +18,6 @@ build:composer:
paths:
- vendor/
test:5.6:
stage: test
image: php:5.6
script:
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
paths:
- vendor/
test:7.0:
stage: test
image: php:7.0
@ -38,14 +28,23 @@ test:7.0:
paths:
- vendor/
test:7.1:
stage: test
image: php:7.1
script:
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
cache:
key: "$CI_BUILD_REF/$CI_BUILD_REF_NAME"
paths:
- vendor/
release:
stage: deploy
image: php:5.6
image: php:7.1
only:
- master
script:
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
- vendor/bin/apigen generate -s . -d 'build/phpdoc' --todo --title 'FuzeWorks Build' --exclude 'tests/*','build/*','vendor/*','CI/*'
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths:

View File

@ -1,38 +1,11 @@
<style class="tracy-debug">
#tracy-debug .fuzeworks-LoggerPanel table {
font: 9pt/1.5 Consolas, monospace;
}
#tracy-debug .fuzeworks-LoggerPanel .error td {
background: #FF3300 !important;
}
#tracy-debug .fuzeworks-LoggerPanel .warning td {
background: #FFFF66 !important;
}
#tracy-debug .fuzeworks-LoggerPanel .debug td {
background: #33CC33 !important;
}
#tracy-debug .fuzeworks-LoggerPanel .info td {
background: #BDE678 !important;
}
#tracy-debug .fuzeworks-LoggerPanel .cinfo td {
background: #BDE622 !important;
}
#tracy-debug .fuzeworks-LoggerPanel pre, #tracy-debug .fuzeworks-LoggerPanel code {
display: inline;
background: transparent;
}
</style>
<div class="fuzeworks-LoggerPanel">
<h1> FuzeWorks - Logger</h1>
<h1> Logger</h1>
<div class="tracy-inner">
<table>