Skip to content

Commit

Permalink
travis-ci 테스트 구성 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Jun 27, 2016
1 parent baac3d5 commit 439f66c
Show file tree
Hide file tree
Showing 6 changed files with 249 additions and 221 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ before_script:
- phpenv config-rm xdebug.ini
- 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 echo "USE mysql;\nUPDATE user SET password=PASSWORD('root')
WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root; fi
- if [ $(phpenv version-name) != "5.3" ]; then php -S localhost:8000 & fi
script:
- grunt lint
Expand Down
2 changes: 1 addition & 1 deletion codeception.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ paths:
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
memory_limit: 2048M
error_level: "E_ALL & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE"
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
"php": ">=5.4.0"
},
"require-dev": {
"codeception/codeception": "~2.0",
"codeception/verify": "0.2.*",
"codeception/specify": "0.4.*"
"codeception/codeception": "~2.0"
}
}
8 changes: 4 additions & 4 deletions tests/Install.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ env:
config:
Db:
dsn: 'mysql:host=127.0.0.1;dbname=xe_test'
user: 'travis'
password: 'travis'
user: 'root'
password: 'root'
cleanup: true
DbDropTablesHelper:
dsn: 'mysql:host=127.0.0.1;dbname=xe_test'
user: 'travis'
password: 'travis'
user: 'root'
password: 'root'
Loading

0 comments on commit 439f66c

Please sign in to comment.