Newer
Older
#chrome: stable
Thomas N
committed
apt:
packages:
Thomas N
committed
- libapache2-mod-fastcgi
- libappindicator1
- fonts-liberation
sudo: required
dist: trusty
env:
global:
- SYMFONY_DEPRECATIONS_HELPER=disabled
matrix:
include:
- php: 7.1
env: EXTRA_TESTS=functional
# Apache & php-fpm configuration
- bash travis-scripts/setup-php-fpm.sh
- bash travis-scripts/setup-apache.sh
# PrestaShop configuration
- cp tests/parameters.yml.travis app/config/parameters.yml
hipchat: ec4e21c5eb82066ba8be5fd1afefde@1184657
- composer install --prefer-dist --no-interaction --no-progress
- bash tests/check_file_syntax.sh
- bash travis-scripts/install-prestashop
- composer test
- composer test-admin
- composer phpunit-controllers
- bash ./travis-scripts/run-selenium-tests
- bash ./travis-scripts/run-functional-tests # Must run before starter theme
- bash ./travis-scripts/test-startertheme
after_script:
- sudo cat /var/log/apache2/error.log
after_failure:
- cat /etc/apache2/envvars
- cat /etc/apache2/sites-available/000-default.conf
- sudo cat /var/log/php-fpm.log