Skip to content

Instantly share code, notes, and snippets.

@ml242
Last active December 28, 2015 21:39
Show Gist options
  • Select an option

  • Save ml242/7566384 to your computer and use it in GitHub Desktop.

Select an option

Save ml242/7566384 to your computer and use it in GitHub Desktop.
Adding Travis to A GitHub Repo
Go to Travis CI
click sync now to show a recent repo
click on it to enable Travis
go to base directory and add .travis.yaml (touch .travis.yml)
in Travis:
language: ruby
rvm:
- 1.9.3
script:
- "bundle exec rake db:create"
- "bundle exec rake db:migrate RAILS_ENV=test"
- "bundle exec rspec spec"
git push origin master
How to fix DB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment