Skip to content

Commit

Permalink
travis测试路径
Browse files Browse the repository at this point in the history
  • Loading branch information
littlehz committed Aug 2, 2016
1 parent 98eaa66 commit eca3e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ install:
before_script:
- mysql -e 'CREATE DATABASE IF NOT EXISTS walle DEFAULT CHARSET utf8 COLLATE utf8_general_ci;'
- ./yii migrate/up --interactive=0
- cd tests && ../vendor/bin/codecept build
- cd tests && ./vendor/bin/codecept build

script:
- find ../ -path '../vendor' -prune -o -type f -iname "*.php" -print0 | xargs -0 -n1 php -l
- ../vendor/bin/codecept run
- find ./ -path './vendor' -prune -o -type f -iname "*.php" -print0 | xargs -0 -n1 php -l
- ./vendor/bin/codecept run
matrix:
fast_finish: true

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "BSD-3-Clause",
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"php": ">=5.5.0",
"yiisoft/yii2": ">=2.0.4",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*"
Expand Down

0 comments on commit eca3e54

Please sign in to comment.