Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix circle.yml fail ahoy dkan server.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkinzer committed Jul 26, 2017
1 parent b36f571 commit c69325a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions assets/templates/circle.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ dependencies:
- echo "always_populate_raw_post_data = -1" > $PHPENV_ROOT/versions/$(phpenv global)/etc/conf.d/deprecated.ini
- sudo apt-get update -y && sudo apt-get install -y x11vnc clamav clamav-freshclam
- yes | sudo perl -MCPAN -e "install Digest::HMAC_SHA1;"
- ahoy dkan server:
background: true

override:
- printenv
Expand All @@ -47,8 +45,8 @@ dependencies:
- ahoy site up --db-user=ubuntu --db-pass='' --db-host=127.0.0.1 --db-port=3306 --db-name=circle_test
- ahoy utils fail-when-bad-disable
# Run a webserver using drush.
- 'ahoy drush --yes runserver :8888':
background: true
- ahoy dkan server:
background: true

- wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
- java -jar selenium-server-standalone-2.53.1.jar -p 4444 :
Expand Down
8 changes: 3 additions & 5 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ dependencies:
- echo "always_populate_raw_post_data = -1" > $PHPENV_ROOT/versions/$(phpenv global)/etc/conf.d/deprecated.ini
- sudo apt-get update -y && sudo apt-get install -y x11vnc clamav clamav-freshclam
- yes | sudo perl -MCPAN -e "install Digest::HMAC_SHA1;"
- ahoy dkan server:
background: true

override:
- printenv
Expand All @@ -46,9 +44,9 @@ dependencies:
- drush dl -n registry_rebuild-7.x
- ahoy site up --db-user=ubuntu --db-pass='' --db-host=127.0.0.1 --db-port=3306 --db-name=circle_test
- ahoy utils fail-when-bad-disable
# Run a webserver using drush.
- 'ahoy drush --yes runserver :8888':
background: true
# Run a webserver using drush.
- ahoy dkan server:
background: true

- wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
- java -jar selenium-server-standalone-2.53.1.jar -p 4444 :
Expand Down
6 changes: 4 additions & 2 deletions dkan/test/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ default:
tags: ~@fixme
extensions:
Behat\MinkExtension:
goutte:
selenium2:
goutte: []

selenium2: []

default_session: goutte
javascript_session: selenium2
browser_name: chrome
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function iSeeAValidDataJson($should)
{
$data_json = open_data_schema_map_api_load('data_json_1_1');
// Get base URL.
$url = $this->getMinkParameter('base_url') ? $this->getMinkParameter('base_url') : "http://127.0.0.1::8888";
$url = $this->getMinkParameter('base_url') ? $this->getMinkParameter('base_url') : "http://127.0.0.1:8888";

// Validate POD.
$results = open_data_schema_pod_process_validate($url . '/data.json', TRUE);
Expand Down

0 comments on commit c69325a

Please sign in to comment.