update matrix, remove deprecated

This commit is contained in:
Akolzin Dmitry 2020-02-19 18:17:23 +03:00
parent d7221ecd9b
commit fc7c004988
2 changed files with 83 additions and 25 deletions

View File

@ -1,9 +1,7 @@
os: linux
language: php language: php
dist: trusty dist: trusty
sudo: false
if: tag IS blank if: tag IS blank
env: env:
@ -38,29 +36,89 @@ after_success:
jobs: jobs:
include: include:
- php: 7.0 - php: 7.0
env: env: TEST_SUITE=2.3 OPENCART=2.3.0.0
- TEST_SUITE=2.3
- OPENCART=2.3
- php: 7.1
env:
- TEST_SUITE=2.3
- OPENCART=2.3
- php: 7.0 - php: 7.0
env: env: TEST_SUITE=2.3 OPENCART=2.3.0.1
- TEST_SUITE=3.0 - php: 7.0
- OPENCART=3.0 env: TEST_SUITE=2.3 OPENCART=2.3.0.2
- php: 7.1 - php: 7.1
env: env: TEST_SUITE=2.3 OPENCART=2.3.0.0
- TEST_SUITE=3.0 - php: 7.1
- OPENCART=3.0 env: TEST_SUITE=2.3 OPENCART=2.3.0.1
- php: 7.1
env: TEST_SUITE=2.3 OPENCART=2.3.0.2
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.0.0
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.0.2
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.1.0
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.1.1
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.1.2
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.2.0
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.3.0
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.3.1
- php: 7.0
env: TEST_SUITE=3.0 OPENCART=3.0.3.2
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.0.0
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.0.2
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.1.0
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.1.1
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.1.2
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.2.0
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.3.0
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.3.1
- php: 7.1
env: TEST_SUITE=3.0 OPENCART=3.0.3.2
- php: 7.2 - php: 7.2
env: env: TEST_SUITE=3.0 OPENCART=3.0.0.0
- TEST_SUITE=3.0 - php: 7.2
- OPENCART=3.0 env: TEST_SUITE=3.0 OPENCART=3.0.0.2
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.1.0
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.1.1
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.1.2
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.2.0
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.3.0
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.3.1
- php: 7.2
env: TEST_SUITE=3.0 OPENCART=3.0.3.2
- php: 7.3 - php: 7.3
env: env: TEST_SUITE=3.0 OPENCART=3.0.0.0
- TEST_SUITE=3.0 - php: 7.3
- OPENCART=3.0 env: TEST_SUITE=3.0 OPENCART=3.0.0.2
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.1.0
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.1.1
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.1.2
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.2.0
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.3.0
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.3.1
- php: 7.3
env: TEST_SUITE=3.0 OPENCART=3.0.3.2
- stage: deploy - stage: deploy
before_script: skip before_script: skip
script: make build_archive script: make build_archive
@ -73,8 +131,8 @@ jobs:
- git tag $TRAVIS_TAG - git tag $TRAVIS_TAG
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_OAUTH_TOKEN token: $GITHUB_OAUTH_TOKEN
skip_cleanup: true cleanup: false
file: $ARCHIVE_NAME file: $ARCHIVE_NAME
on: on:
condition: "$LAST_TAG != $CURRENT_VERSION" condition: "$LAST_TAG != $CURRENT_VERSION"

View File

@ -18,7 +18,7 @@ before_script:
# Change MySQL root password # Change MySQL root password
echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root 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 beyondit/opencart-test-suite ~$(TEST_SUITE)
composer require --dev opencart/opencart ~$(OPENCART) composer require --dev opencart/opencart $(OPENCART)
composer setup composer setup
bin/robo --load-from tests/RoboFile.php project:deploy bin/robo --load-from tests/RoboFile.php project:deploy
(php -S localhost:8000 -t www &) 2> /dev/null > /dev/null (php -S localhost:8000 -t www &) 2> /dev/null > /dev/null