Move php composer.phar to composer

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-03-19 13:06:31 +01:00
parent edee5626f4
commit e9458c1839

View File

@ -8,7 +8,7 @@ stages:
test: test:
stage: test stage: test
script: script:
- php composer.phar install -o --no-interaction --no-progress --prefer-dist - composer 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
- vendor/bin/phpunit --bootstrap app/tests/bootstrap.php --debug app/tests - vendor/bin/phpunit --bootstrap app/tests/bootstrap.php --debug app/tests
@ -22,9 +22,8 @@ pages:
script: script:
- latesttag=$(git describe --tags) - latesttag=$(git describe --tags)
- git checkout ${latesttag} - git checkout ${latesttag}
- php composer.phar install -o --no-interaction --no-progress --prefer-dist --no-dev - composer install -o --no-interaction --no-progress --prefer-dist --no-dev
- php composer.phar dump-autoload --optimize --no-dev --classmap-authoritative - composer dump-autoload --optimize --no-dev --classmap-authoritative
- rm -rf composer.phar
- mkdir tpl_c - mkdir tpl_c
- mkdir framadate - mkdir framadate
- mv `ls -A | grep -v framadate` ./framadate - mv `ls -A | grep -v framadate` ./framadate
@ -43,7 +42,7 @@ funky:
stage: funky stage: funky
script: script:
- git checkout funky - git checkout funky
- php composer.phar install - composer install
- mkdir tpl_c - mkdir tpl_c
- mkdir .public - mkdir .public
- cp -r * .public - cp -r * .public