|
@@ -0,0 +1,17 @@
|
|
|
|
|
+
|
|
|
|
|
+before_script:
|
|
|
|
|
+ - wget https://composer.github.io/installer.sig -O - -q | tr -d '\n' > installer.sig
|
|
|
|
|
+ - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
|
|
|
|
+ - php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
|
|
|
|
+ - php composer-setup.php
|
|
|
|
|
+ - php -r "unlink('composer-setup.php'); unlink('installer.sig');"
|
|
|
|
|
+
|
|
|
|
|
+unit_otcore:
|
|
|
|
|
+ stage: test
|
|
|
|
|
+
|
|
|
|
|
+ before_script:
|
|
|
|
|
+ - php ot_core/composer.phar --dev install
|
|
|
|
|
+ - export TYPO3_PATH_WEB=$PWD/ot_core/.Build/Web
|
|
|
|
|
+
|
|
|
|
|
+ script:
|
|
|
|
|
+ - ot_core/.Build/bin/phpunit -c ot_core/Tests/Build/UnitTests.xml
|