diff --git a/.travis.yml b/.travis.yml index 5a6434e5..df180c6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: elixir +services: + - postgresql cache: directories: - $HOME/.mix @@ -7,4 +9,8 @@ elixir: otp_release: - 20.1 script: - - bin/setup \ No newline at end of file + - bin/setup +before_script: + - psql -c 'create database example_test;' -U postgres +env: + - DATABASE_POSTGRESQL_USERNAME=postgres