Umm.. Where is switch of docker/on-premise settings
This commit is contained in:
parent
b7d3af8adb
commit
4b3a130bbc
1 changed files with 4 additions and 2 deletions
|
@ -19,11 +19,13 @@ matrix:
|
||||||
- sudo -i -u postgres createdb szuru_test
|
- sudo -i -u postgres createdb szuru_test
|
||||||
- sudo -i -u postgres psql -c "ALTER USER szuru PASSWORD 'dog';"
|
- sudo -i -u postgres psql -c "ALTER USER szuru PASSWORD 'dog';"
|
||||||
- cd server
|
- cd server
|
||||||
- cp config.yaml.dist ../
|
- cp config.yaml.dist config.yaml
|
||||||
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' ../config.yaml.dist
|
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' config.yaml
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
- pip install -r dev-requirements.txt
|
||||||
script:
|
script:
|
||||||
|
- pycodestyle szurubooru/
|
||||||
- ./wait-for-es
|
- ./wait-for-es
|
||||||
- alembic upgrade head
|
- alembic upgrade head
|
||||||
- py.test
|
- py.test
|
||||||
|
|
Reference in a new issue