Permalink
Browse files

Setup postgres in travis

  • Loading branch information...
devth committed Dec 5, 2017
1 parent 33c967e commit c0b4d8e2210387984fd55efbfe4c8e280114da18
Showing with 13 additions and 6 deletions.
  1. +13 −6 .travis.yml
View
@@ -1,18 +1,25 @@
language: clojure
cache:
directories:
- $HOME/.m2
script: lein test
jdk:
- oraclejdk8
sudo: required
services:
- docker
- postgresql
cache:
directories:
- $HOME/.m2
env:
- YETIBOT_DB_URL="postgresql://postgres@localhost:5432/yetibot"
before_script:
- psql -c 'create database yetibot;' -U postgres
script: lein test
after_success:
- CLOVERAGE_VERSION=1.0.7-SNAPSHOT lein cloverage --codecov

0 comments on commit c0b4d8e

Please sign in to comment.