language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm fast_finish: true sudo: false before_script: - npm install -g grunt-cli - npm install - mysql -e "CREATE DATABASE xe_test;" - echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis') WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root - php -S localhost:8000 & - if [ $(phpenv version-name) == "5.3" ]; then touch codecept.phar; fi - if [ $(phpenv version-name) == "5.4" ]; then wget http://codeception.com/releases/2.0.16/codecept.phar; fi - if [ ! -f codecept.phar ]; then wget http://codeception.com/codecept.phar; fi script: - grunt lint - grunt minify - if [ -f codecept.phar ]; then php codecept.phar build; fi - if [ -f codecept.phar ]; then php codecept.phar run -d --fail-fast --env travis; fi notifications: email: false