Skip to content

Instantly share code, notes, and snippets.

@anoobbava
Last active November 15, 2017 16:27
Show Gist options
  • Select an option

  • Save anoobbava/712777537f3d2653db2819b5add3402c to your computer and use it in GitHub Desktop.

Select an option

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