Last active
December 28, 2015 21:39
-
-
Save ml242/7566384 to your computer and use it in GitHub Desktop.
Adding Travis to A GitHub Repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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