Skip to content

Commit

Permalink
Merge pull request #786 from olleolleolle/patch-3
Browse files Browse the repository at this point in the history
Travis: use the code_climate addon config
  • Loading branch information
booleanbetrayal authored Jan 19, 2017
2 parents 749088f + e3debcd commit a0a84cb
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,25 @@ rvm:
- 2.3.1

env:
- DB=sqlite
- DB=mysql
- DB=postgresql
global:
- RAILS_ENV=test
matrix:
- DB=sqlite
- DB=mysql
- DB=postgresql

script:
- RAILS_ENV=test bundle exec rake --trace db:migrate
- RAILS_ENV=test CODECLIMATE_REPO_TOKEN=44d7688de8e1b567b4af25ec5083c2cc0a355ab911192a7cbefd1ea25b2ffd3d bundle exec rake
- bundle exec rake --trace db:migrate
- bundle exec rake

before_script:
- mysql -e 'create database devise_token_auth_test'
- psql -c 'create database devise_token_auth_test' -U postgres

addons:
postgresql: "9.4"
postgresql: "9.4"
code_climate:
- repo_token: 44d7688de8e1b567b4af25ec5083c2cc0a355ab911192a7cbefd1ea25b2ffd3d

after_success:
- bundle exec codeclimate-test-reporter

0 comments on commit a0a84cb

Please sign in to comment.