mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Merge pull request #30 from kijin/experimental/faster-codeception-installation
유닛 테스트에서 Codeception을 로딩하는 방법 변경
This commit is contained in:
commit
71fc952126
1 changed files with 8 additions and 8 deletions
16
.travis.yml
16
.travis.yml
|
|
@ -12,18 +12,18 @@ matrix:
|
|||
fast_finish: true
|
||||
sudo: false
|
||||
before_script:
|
||||
- travis_retry composer self-update
|
||||
- npm install -g grunt-cli
|
||||
- npm install
|
||||
- if [ $(phpenv version-name) != "5.3" ]; then composer install; fi
|
||||
- if [ $(phpenv version-name) != "5.3" ]; then mysql -e 'create database xe_test;'; fi
|
||||
- if [ $(phpenv version-name) != "5.3" ]; then echo "USE mysql;\nUPDATE user SET password=PASSWORD('travis')
|
||||
WHERE user='travis';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
|
||||
- if [ $(phpenv version-name) != "5.3" ]; then php -S localhost:8000 & fi
|
||||
- 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 [ $(phpenv version-name) != "5.3" ]; then ./vendor/bin/codecept build; fi
|
||||
- if [ $(phpenv version-name) != "5.3" ]; then ./vendor/bin/codecept run -d --fail-fast --env travis; fi
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue