Skip to content

Commit

Permalink
travis selenium test.
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Nov 27, 2011
1 parent 546bb3d commit 86653e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -4,6 +4,9 @@ rvm:
- 1.9.2
- 1.9.3

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

script:
- "cp config/alipay.yml.example config/alipay.yml 2>&1"
- "cp config/sms.yml.example config/sms.yml 2>&1"
Expand All @@ -12,7 +15,8 @@ script:
- "cp config/app_secret_config.yml.example config/app_secret_config.yml 2>&1"
- "cp config/initializers/secret_token.rb.example config/initializers/secret_token.rb 2>&1"
- "bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "bundle exec rspec spec/controllers spec/helpers spec/liquids spec/models spec/observers spec/mailers spec/routings" #except request
#- "bundle exec rspec spec/controllers spec/helpers spec/liquids spec/models spec/observers spec/mailers spec/routings" #except requests
- "DISPLAY=:99.0 bundle exec rspec spec/requests"

env:
- RAILS_ENV='travis'
Expand Down

0 comments on commit 86653e6

Please sign in to comment.