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 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