Skip to content

Commit

Permalink
[ci] Update travis config to include PSQL
Browse files Browse the repository at this point in the history
PostgreSQL is needed for the Phoenix integation
test examples and needs to be running and configured
for Travis to build successfully.
  • Loading branch information
cpjolicoeur committed Sep 12, 2019
1 parent 960a6d2 commit e496c9c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: elixir
services:
- postgresql
cache:
directories:
- $HOME/.mix
Expand All @@ -7,4 +9,8 @@ elixir:
otp_release:
- 20.1
script:
- bin/setup
- bin/setup
before_script:
- psql -c 'create database example_test;' -U postgres
env:
- DATABASE_POSTGRESQL_USERNAME=postgres

0 comments on commit e496c9c

Please sign in to comment.