dist: trusty
sudo: false

language: python

python:
  - 3.5

addons:
  postgresql: "9.5"

before_script:
  - wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz
  - psql -c 'create database ndr_test;" -U postgres
  - psql -f sql/users.sql ndr_test
  - psql -f sql/grants.sql ndr_test
  - flyway-4.2.0/flyway -url:jdbc:postgresql://localhost/ndr_test migrate

install:
  - pip install codecov
  - pip install coverage

script:
  - coverage run --source=ndr-server setup.py test

after_success:
  - codecov


dist: trusty
sudo: false

language: python

python:
  - 3.5

addons:
  postgresql: "9.5"

before_script:
  - wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/4.2.0/flyway-commandline-4.2.0-linux-x64.tar.gz
  - tar zxvf flyway-commandline-4.2.0-linux-x64.tar.gz
  - psql -c 'create database ndr_test;' -U postgres
  - psql -f sql/users.sql ndr_test
  - psql -f sql/grants.sql ndr_test
  - flyway-4.2.0/flyway -url:jdbc:postgresql://localhost/ndr_test migrate

install:
  - pip install codecov
  - pip install coverage

script:
  - coverage run --source=ndr-server setup.py test

after_success:
  - codecov


Fix idiot typo and add tar zxvf for the flyway download
Fix idiot typo and add tar zxvf for the flyway download

Signed-off-by: Michael Casadevall <6fe105eefab41990d7ec714c6c25ade3095cdb48@them.com>
