Skip to content

Test versions #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/install-magento.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ BIN_MAGENTO=magento-command
mysqladmin -u$M2SETUP_DB_USER -p"$M2SETUP_DB_PASSWORD" -h$M2SETUP_DB_HOST create $M2SETUP_DB_NAME
DEBUG=true magento-installer
cd /var/www/magento
composer config repositories.solr-module vcs $MODULE_DIR
composer config repositories.solr-module '{"type":"path", "url":"'$MODULE_DIR'", "options":{"symlink":false}}'
composer config repositories.solr-autosuggest vcs [email protected]:integer-net/solr-magento2-autosuggest.git
composer config repositories.solr-base vcs [email protected]:integer-net/solr-base.git
composer config repositories.solr-pro vcs [email protected]:integer-net/solr-pro.git
sed -i -e 's/"psr-4": {/"psr-4": {\n "IntegerNet\\\\Solr\\\\": ["vendor\/integer-net\/solr-magento2\/main\/test\/unit", "vendor\/integer-net\/solr-magento2\/main\/test\/integration", "vendor\/integer-net\/solr-base\/test\/Solr" ],/g' composer.json
composer config minimum-stability dev
composer require integer-net/solr-magento2 dev-tmp --no-update
composer require integer-net/solr-magento2 @dev --no-update
composer require --dev tddwizard/magento2-fixtures 0.3.1 --no-update
phpunit_version="$(composer info | grep "phpunit/phpunit " | awk '{ print $2 }')"
phpunit_minimum="5.7.0"
Expand Down
8 changes: 4 additions & 4 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-2.1:
box: meanbee/magento2-php:7.0-cli # Magento 2.1 is not compatible to PHP 7.1
steps:
- install-packages:
packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev netcat-openbsd
packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev netcat-openbsd
- add-ssh-key:
keyname: GITHUB_DEPLOY
host: github.com
Expand All @@ -25,7 +25,7 @@ build-2.1:
while ! nc -q 1 $MYSQL_CI_PORT_3306_TCP_ADDR $MYSQL_CI_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
- script:
name: set up test system
code: build/install-magento.sh 2.1.15
code: build/install-magento.sh 2.1.16
- script:
name: run unit tests
cwd: /var/www/magento/vendor/integer-net/solr-magento2
Expand All @@ -36,7 +36,7 @@ build-2.1:
build-2.2:
steps:
- install-packages:
packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev netcat-openbsd
packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev netcat-openbsd
- add-ssh-key:
keyname: GITHUB_DEPLOY
host: github.com
Expand All @@ -50,7 +50,7 @@ build-2.2:
while ! nc -q 1 $MYSQL_CI_PORT_3306_TCP_ADDR $MYSQL_CI_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
- script:
name: set up test system
code: build/install-magento.sh 2.2.6
code: build/install-magento.sh 2.2.7
- script:
name: run unit tests
cwd: /var/www/magento/vendor/integer-net/solr-magento2
Expand Down