From 4b3a130bbc9657975de0290a3850f618e91e1ad4 Mon Sep 17 00:00:00 2001 From: nothink Date: Wed, 25 Jul 2018 22:51:28 +0900 Subject: [PATCH] Umm.. Where is switch of docker/on-premise settings --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 870884c4..4fb29505 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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