Skip to content

Commit

Permalink
add postgres addon on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
linyiru committed Feb 26, 2020
1 parent 71e2bcf commit e338ecf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sudo: false
cache: bundler
bundler_args: --retry=3 --jobs=3
before_script:
- psql -c 'create database jobs_ruby_tw_test;' -U postgres
- bin/setup
- bin/rake db:test:prepare
rvm:
Expand All @@ -12,3 +13,5 @@ matrix:
allow_failures:
- rvm: 2.0
fast_finish: true
addons:
postgresql: 9.6

0 comments on commit e338ecf

Please sign in to comment.