Skip to content

Instantly share code, notes, and snippets.

@anoobbava
Last active November 15, 2017 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anoobbava/712777537f3d2653db2819b5add3402c to your computer and use it in GitHub Desktop.
Save anoobbava/712777537f3d2653db2819b5add3402c to your computer and use it in GitHub Desktop.
travis YML Sample
language: ruby
rvm:
- 2.3.1
env:
- DB=sqlite
before_script:
- mysql -e 'create database test;'
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rspec && CODECLIMATE_REPO_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX bundle exec codeclimate-test-reporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment