diff --git a/.travis.yml b/.travis.yml index 023a73c..8f29b57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,13 +34,21 @@ after_success: jobs: include: - php: 7.0 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.1 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.2 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - php: 7.3 - env: TEST_SUITE=2.3 + env: + - TEST_SUITE=2.3 + - OPENCART=2.3 - stage: deploy before_script: skip script: make build_archive diff --git a/Makefile b/Makefile index f68b0f0..cb286ce 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ before_script: # Change MySQL root password echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root composer require --dev beyondit/opencart-test-suite ~$(TEST_SUITE) + composer require --dev opencart/opencart ~$(OPENCART) composer setup bin/robo --load-from tests/RoboFile.php project:deploy (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null diff --git a/composer.json b/composer.json index 29a2ebb..fc8517e 100644 --- a/composer.json +++ b/composer.json @@ -24,5 +24,8 @@ "@test-catalog" ], "setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup" + }, + "require-dev": { + "consolidation/robo": "~1.0" } }