From f11d3053f34af254e29a194e45a1911183f1dd76 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Wed, 7 Mar 2018 14:49:12 +0900 Subject: [PATCH] Update .travis.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Codeception 2.2는 PHP 7.2에서 작동하지 않음 - Codeception 2.3은 PHP 7.2에서 작동하나, 세션이 저장되지 않아서 설치 도중 DB 에러가 남 - 아직 해결하지 못했으나 일단 버전만 변경함 --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4866c03b7..ce15d7036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,10 +19,11 @@ before_script: - mysql -u root -e "UPDATE mysql.user SET Password = PASSWORD('travis') WHERE User = 'travis'; FLUSH PRIVILEGES" - phpenv config-rm xdebug.ini - 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: - php codecept.phar build - - php codecept.phar run -d --fail-fast --env travis + - php codecept.phar run --debug --fail-fast --env travis - grunt lint notifications: email: false