sudo: false
language: elixir
elixir:
    - 1.3.4
env:
  - MIX_ENV=test
install:
  - rm -rf _build
  - mix local.hex --force
  - mix deps.get
script:
  - mix test
addons:
  postgresql: "9.4"
services:
  - postgresql

before_script:
  - psql -c 'create database stockman_test;' -U postgres

sudo: false
language: elixir
elixir:
    - 1.3.4
env:
  - MIX_ENV=test
install:
  - rm -rf _build
  - mix local.hex --force
  - mix local.rebar --force
  - mix deps.get
script:
  - mix test
addons:
  postgresql: "9.4"
services:
  - postgresql

before_script:
  - psql -c 'create database stockman_test;' -U postgres

Add rebar force as dep before test
Add rebar force as dep before test
