Skip to content
Snippets Groups Projects
Commit 0f81d4bc authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3194401: Switch to CircleCI as the default automated testing platform

parent dd2c742f
No related branches found
No related tags found
No related merge requests found
version: 2.1 version: 2.1
orbs: orbs:
browser-tools: circleci/browser-tools@1.1 browser-tools: circleci/browser-tools@1.1
aliases:
- &composer-cache
v4-composer-cache
jobs: jobs:
build: build:
docker: docker:
...@@ -44,6 +47,9 @@ jobs: ...@@ -44,6 +47,9 @@ jobs:
command: | command: |
sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
sudo service apache2 restart sudo service apache2 restart
- restore_cache:
keys:
- *composer-cache
## Waiting for MySQL to be ready. ## Waiting for MySQL to be ready.
- run: - run:
...@@ -104,8 +110,13 @@ jobs: ...@@ -104,8 +110,13 @@ jobs:
- run: - run:
name: Build Varbase 9.0.x with the composer name: Build Varbase 9.0.x with the composer
command: | command: |
cd /var/www/html/varbase
composer install --no-interaction -vvv composer install --no-interaction -vvv
git clone --branch 9.0.x https://github.com/vardot/varbase.git /var/www/html/varbase/docroot/profiles/varbase git clone --branch 9.0.x https://github.com/vardot/varbase.git /var/www/html/varbase/docroot/profiles/varbase
- save_cache:
key: *composer-cache
paths:
- ~/.composer/cache
## Update PATH to point at the composer bin in the project. ## Update PATH to point at the composer bin in the project.
- run: - run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment