install deps first
This commit is contained in:
parent
771509a05b
commit
0dbb926dec
@ -11,6 +11,7 @@ env:
|
|||||||
install:
|
install:
|
||||||
- pip install -U pip wheel
|
- pip install -U pip wheel
|
||||||
- pip install flake8 psycopg2 nose
|
- pip install flake8 psycopg2 nose
|
||||||
|
- pip install -e .
|
||||||
before_script:
|
before_script:
|
||||||
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'DROP DATABASE IF EXISTS dataset;' -U postgres; fi"
|
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'DROP DATABASE IF EXISTS dataset;' -U postgres; fi"
|
||||||
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'create database dataset;' -U postgres; fi"
|
- sh -c "if [ '$DATABASE_URL' = 'postgresql+psycopg2://postgres@127.0.0.1/dataset' ]; then psql -c 'create database dataset;' -U postgres; fi"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user