project-config/jenkins/scripts/php-laravel-build.sh
Andreas Jaeger 754bbb6d15 Cleanup jenkins/scripts
Mark all files that are run (and not only sourced) as executable.

Remove files bump-milestone.sh, run-xmllint.sh and wait_for_nova.sh,
those are not used anywhere in OpenStack (according to codesearch.o.o
and local git grep).

Change-Id: Ie344c9f9f8cc39b102f0147ecffa189e1b83da1e
2017-04-10 22:41:50 +02:00

13 lines
301 B
Bash
Executable File

#!/bin/bash -xe
# Build a Laravel/PHP distribution using composer.
cat >bootstrap/environment.php <<EOF
<?php
\$env = \$app->detectEnvironment(function()
{
return 'dev';
});
EOF
curl -s https://getcomposer.org/installer | /usr/bin/php
php composer.phar install --prefer-dist --ignore-platform-reqs