Umm.. Where is switch of docker/on-premise settings

This commit is contained in:
nothink 2018-07-25 22:51:28 +09:00
parent b7d3af8adb
commit 4b3a130bbc

View file

@ -19,11 +19,13 @@ matrix:
- sudo -i -u postgres createdb szuru_test
- sudo -i -u postgres psql -c "ALTER USER szuru PASSWORD 'dog';"
- cd server
- cp config.yaml.dist ../
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' ../config.yaml.dist
- cp config.yaml.dist config.yaml
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' config.yaml
install:
- pip install -r requirements.txt
- pip install -r dev-requirements.txt
script:
- pycodestyle szurubooru/
- ./wait-for-es
- alembic upgrade head
- py.test