Skip to content

Commit

Permalink
add time stat for travis-ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Aug 1, 2012
1 parent 2043d28 commit c1a94d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -4,16 +4,16 @@ rvm: 1.9.3

# RubyPython::PyObject::FFI (NameError)
# https://github.com/travis-ci/travis-ci/issues/557#issuecomment-5919720
before_install: gem uninstall ffi -a
# before_install: gem uninstall ffi -a

# request headless test
before_script: sh -e /etc/init.d/xvfb start

script:
- "cp config/database.yml.example.postgresql config/database.yml 2>&1"
- "cp config/app_secret_config.yml.example config/app_secret_config.yml 2>&1"
- "bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "bundle exec rake travis:parallel"
- "time bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "time bundle exec rake travis:parallel"

env:
- UNIT_TEST=1 # 单元测试1
Expand Down

0 comments on commit c1a94d9

Please sign in to comment.