Update .travis.yml

- Codeception 2.2는 PHP 7.2에서 작동하지 않음
- Codeception 2.3은 PHP 7.2에서 작동하나, 세션이 저장되지 않아서 설치 도중 DB 에러가 남
- 아직 해결하지 못했으나 일단 버전만 변경함
This commit is contained in:
Kijin Sung 2018-03-07 14:49:12 +09:00
parent 7854d64641
commit f11d3053f3

View file

@ -19,10 +19,11 @@ before_script:
- mysql -u root -e "UPDATE mysql.user SET Password = PASSWORD('travis') WHERE User = 'travis'; FLUSH PRIVILEGES" - mysql -u root -e "UPDATE mysql.user SET Password = PASSWORD('travis') WHERE User = 'travis'; FLUSH PRIVILEGES"
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- php -S localhost:8000 & - php -S localhost:8000 &
- wget http://codeception.com/releases/2.1.11/codecept.phar - if [[ $TRAVIS_PHP_VERSION != "7.2" ]]; then wget https://codeception.com/releases/2.1.11/codecept.phar; fi
- if [[ $TRAVIS_PHP_VERSION == "7.2" ]]; then wget https://codeception.com/releases/2.3.9/codecept.phar; fi
script: script:
- php codecept.phar build - php codecept.phar build
- php codecept.phar run -d --fail-fast --env travis - php codecept.phar run --debug --fail-fast --env travis
- grunt lint - grunt lint
notifications: notifications:
email: false email: false