Skip to content

Instantly share code, notes, and snippets.

@ghostropic
Last active August 29, 2015 14:00
Show Gist options
  • Save ghostropic/11300019 to your computer and use it in GitHub Desktop.
Save ghostropic/11300019 to your computer and use it in GitHub Desktop.
.travis.yml config
language: ruby
rvm:
- 2.1.0
before_script:
- "sh -e /etc/init.d/xvfb start"
- "export DISPLAY=:99.0"
- "export JASMINE_SPEC_FORMAT=documentation"
env:
- PG_USERNAME='postgres'
script:
- "bundle exec rake db:create"
- "bundle exec rake db:migrate RAILS_ENV=test"
- "bundle exec rake spec"
- "bundle exec rake jasmine:ci"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment