mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-04-10 04:10:54 +00:00
test
This commit is contained in:
parent
a489fe2f58
commit
7daa69fc17
2 changed files with 8 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue