mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-21 20:56:07 +03:00
test matrix
This commit is contained in:
parent
d0467c020e
commit
c0f46cb672
16
.travis.yml
16
.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
|
||||
|
1
Makefile
1
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
|
||||
|
@ -24,5 +24,8 @@
|
||||
"@test-catalog"
|
||||
],
|
||||
"setup" : "bin/robo --load-from tests/RoboFile.php opencart:setup"
|
||||
},
|
||||
"require-dev": {
|
||||
"consolidation/robo": "~1.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user