This commit is contained in:
Akolzin Dmitry 2020-03-04 23:16:19 +03:00
parent a489fe2f58
commit 7daa69fc17
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,5 @@
os: linux
dist: trusty
language: php
@ -8,7 +9,12 @@ addons:
- apache2
- libapache2-mod-fastcgi
dist: trusty
before_script: make before_script
script: make test
stages:
- test
jobs:
include:
@ -67,10 +73,6 @@ jobs:
env: BRANCH=1.7.5.x
after_success: bash <(curl -s https://codecov.io/bash)
before_script: make before_script
script: phpunit
#deploy:
# skip_cleanup: true
# provider: script

View File

@ -54,7 +54,7 @@ endif
test:
ifeq ($(COMPOSER_IN_TESTS),1)
phpunit
phpunit -c phpunit.xml.dist
else
cd $(PRESTASHOP_DIR) && composer run-script create-test-db --timeout=0
cd $(PRESTASHOP_DIR) && php vendor/bin/phpunit -c $(ROOT_DIR)/phpunit.xml.dist