Created
August 19, 2018 19:33
-
-
Save frank-who/3c73306b4489af113cf880331b095ecd to your computer and use it in GitHub Desktop.
Postgres 10 on Travis
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
env: | |
global: | |
- PGPORT=5433 | |
language: ruby | |
rvm: | |
- 2.5.1 | |
cache: | |
bundler: true | |
services: | |
- postgresql | |
addons: | |
postgresql: 10 | |
apt: | |
packages: | |
- postgresql-10 | |
- postgresql-client-10 | |
before_script: | |
- cp config/database.yml.travis config/database.yml | |
script: | |
- bundle exec rake db:migrate | |
- bundle exec rspec |
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
# config/database.yml.travis | |
test: | |
adapter: postgresql | |
database: travis | |
username: travis | |
password: travis | |
port: 5433 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment