rhymix/.travis.yml
Min-Soo Kim c96b1ee461 Revert "Merge branch 'temp_testing' into db-search-operator"
This reverts commit c230dffc87, reversing
changes made to f8ed3b49f2.
2020-12-27 21:29:07 +09:00

27 lines
800 B
YAML

os: linux
dist: xenial
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
jobs:
allow_failures:
- php:
services:
- mysql
before_script:
- mysql -u root -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
- mysql -u root -e "GRANT ALL PRIVILEGES ON rhymix.* TO travis@localhost"
- mysql -u root -e "SET PASSWORD FOR travis@localhost = PASSWORD('travis'); FLUSH PRIVILEGES"
- phpenv config-rm xdebug.ini
- wget https://codeception.com/releases/2.3.9/codecept.phar
- php -S localhost:8000 &
script:
- if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
- php codecept.phar build
- php codecept.phar run --debug --fail-fast --env travis
notifications:
email: false