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