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

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

parent 1f325e52
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,6 @@ jobs: ...@@ -18,7 +18,6 @@ jobs:
MYSQL_DATABASE: test_varbase900xxc MYSQL_DATABASE: test_varbase900xxc
MYSQL_USER: user MYSQL_USER: user
MYSQL_PASSWORD: passw0rd MYSQL_PASSWORD: passw0rd
working_directory: /home/circleci/project/docroot
steps: steps:
- checkout - checkout
## Install PHP extra. ## Install PHP extra.
...@@ -38,6 +37,11 @@ jobs: ...@@ -38,6 +37,11 @@ jobs:
command: | command: |
echo -e "memory_limit = -1" | sudo tee /usr/local/etc/php/php.ini > /dev/null echo -e "memory_limit = -1" | sudo tee /usr/local/etc/php/php.ini > /dev/null
sudo service apache2 restart sudo service apache2 restart
- run:
name: Disable xdebug PHP extension
command: |
sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
sudo service apache2 restart
## Waiting for MySQL to be ready. ## Waiting for MySQL to be ready.
- run: - run:
...@@ -136,5 +140,5 @@ jobs: ...@@ -136,5 +140,5 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /home/circleci/project/docroot/profiles/varbase cd /home/circleci/project/docroot/profiles/varbase
../../../bin/behat tests/features/varbase/step1-init-tests behat tests/features/varbase/step1-init-tests
../../../bin/behat tests/features/varbase/step2-apply-tests behat tests/features/varbase/step2-apply-tests
...@@ -86,7 +86,7 @@ default: ...@@ -86,7 +86,7 @@ default:
- "disable-infobars" - "disable-infobars"
- "js-flags=--expose-gc" - "js-flags=--expose-gc"
- "no-sandbox" - "no-sandbox"
base_url: 'http://127.0.0.1' base_url: 'http://127.0.0.1/docroot'
# browser_name: 'firefox' # browser_name: 'firefox'
browser_name: 'chrome' browser_name: 'chrome'
# browser_name: 'phantomjs' # browser_name: 'phantomjs'
......
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