mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
test matrix
This commit is contained in:
parent
74a36756f6
commit
d0467c020e
12
.travis.yml
12
.travis.yml
@ -6,10 +6,6 @@ sudo: false
|
||||
|
||||
if: tag IS blank
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
|
||||
env:
|
||||
global:
|
||||
- OC_DB_HOSTNAME=localhost
|
||||
@ -37,6 +33,14 @@ after_success:
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- php: 7.0
|
||||
env: TEST_SUITE=2.3
|
||||
- php: 7.1
|
||||
env: TEST_SUITE=2.3
|
||||
- php: 7.2
|
||||
env: TEST_SUITE=2.3
|
||||
- php: 7.3
|
||||
env: TEST_SUITE=2.3
|
||||
- stage: deploy
|
||||
before_script: skip
|
||||
script: make build_archive
|
||||
|
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ before_script:
|
||||
mkdir coverage
|
||||
# Change MySQL root password
|
||||
echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
||||
composer install
|
||||
composer require --dev beyondit/opencart-test-suite ~$(TEST_SUITE)
|
||||
composer setup
|
||||
bin/robo --load-from tests/RoboFile.php project:deploy
|
||||
(php -S localhost:8000 -t www &) 2> /dev/null > /dev/null
|
||||
|
@ -9,14 +9,6 @@
|
||||
"email": "integration@retailcrm.ru"
|
||||
}
|
||||
],
|
||||
"require-dev": {
|
||||
"opencart/opencart" : "2.3.0.2",
|
||||
"vlucas/phpdotenv": "~1.1.0",
|
||||
"phpunit/phpunit" : "~4.0",
|
||||
"beyondit/opencart-test-suite": "~2.3.0",
|
||||
"consolidation/robo": "~1",
|
||||
"henrikbjorn/lurker": "^1.2"
|
||||
},
|
||||
"config": {
|
||||
"bin-dir": "bin/",
|
||||
"preferred-install": "source"
|
||||
|
3197
composer.lock
generated
3197
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user