mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-14 08:30:37 +00:00
3f6f2396cd
* Started integration of drone.io scripts * Started integration of drone.io scripts * Started integration of drone.io scripts * Removed curl testing * Skipping frontend tests for drone * Skipping frontend tests for drone * Updated scenario skip comment and removed time from .drone.yml
28 lines
518 B
Bash
28 lines
518 B
Bash
#!/usr/bin/env bash
|
|
VERSION="$(git rev-parse --short HEAD)"
|
|
|
|
echo "Started building at $(date) - $(whoami)"
|
|
|
|
mkdir -p /tests/www
|
|
cp -r ./* /tests/www
|
|
|
|
cd /tests/www
|
|
|
|
# Update composer
|
|
composer self-update
|
|
|
|
# Install dependencies
|
|
composer install --no-interaction --no-progress
|
|
|
|
cp jorobo.dist.ini jorobo.ini
|
|
cp RoboFile.dist.ini RoboFile.ini
|
|
|
|
# Build package
|
|
vendor/bin/robo build --dev
|
|
|
|
# Copy acceptance yml
|
|
cp tests/acceptance.suite.dist.yml tests/acceptance.suite.yml
|
|
|
|
chown -R www-data .
|
|
chown -R www-data /tests
|