Use own framasoft/framadate-ci image for CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-03-19 13:04:09 +01:00
parent a1fbe3946a
commit edee5626f4
1 changed files with 1 additions and 9 deletions

View File

@ -1,19 +1,13 @@
image: php image: framasoft/framadate-ci
stages: stages:
- test - test
- deploy - deploy
- funky - funky
# install zip, git, composer on each build
before_script:
- apt-get update -yqq
- apt-get install zip unzip git -yqq
# Run php-cs-fixer and phpunit on all branches # Run php-cs-fixer and phpunit on all branches
test: test:
stage: test stage: test
script: script:
- curl --silent --show-error https://getcomposer.org/installer | php
- php composer.phar install -o --no-interaction --no-progress --prefer-dist - php composer.phar install -o --no-interaction --no-progress --prefer-dist
- mkdir tpl_c - mkdir tpl_c
- php vendor/bin/php-cs-fixer fix --verbose --dry-run - php vendor/bin/php-cs-fixer fix --verbose --dry-run
@ -28,7 +22,6 @@ pages:
script: script:
- latesttag=$(git describe --tags) - latesttag=$(git describe --tags)
- git checkout ${latesttag} - git checkout ${latesttag}
- curl --silent --show-error https://getcomposer.org/installer | php
- php composer.phar install -o --no-interaction --no-progress --prefer-dist --no-dev - php composer.phar install -o --no-interaction --no-progress --prefer-dist --no-dev
- php composer.phar dump-autoload --optimize --no-dev --classmap-authoritative - php composer.phar dump-autoload --optimize --no-dev --classmap-authoritative
- rm -rf composer.phar - rm -rf composer.phar
@ -50,7 +43,6 @@ funky:
stage: funky stage: funky
script: script:
- git checkout funky - git checkout funky
- curl --silent --show-error https://getcomposer.org/installer | php
- php composer.phar install - php composer.phar install
- mkdir tpl_c - mkdir tpl_c
- mkdir .public - mkdir .public