Browse Source

Move script check_migrations.sh para o estagio 'before_script'

Signed-off-by: Eliseu Egewarth <eliseuegewarth@gmail.com>
pull/1411/head
Eliseu Egewarth 8 years ago
parent
commit
714d1d6628
  1. 2
      .travis.yml

2
.travis.yml

@ -14,9 +14,9 @@ before_script:
- cp sapl/.env_test sapl/.env - cp sapl/.env_test sapl/.env
- psql -c "CREATE USER sapl WITH PASSWORD 'sapl'" -U postgres; - psql -c "CREATE USER sapl WITH PASSWORD 'sapl'" -U postgres;
- psql -c "CREATE DATABASE sapl OWNER sapl;" -U postgres - psql -c "CREATE DATABASE sapl OWNER sapl;" -U postgres
- ./check_migrations.sh
script: script:
- ./check_migrations.sh
- ./manage.py migrate - ./manage.py migrate
- ./manage.py bower install - ./manage.py bower install
- py.test --create-db - py.test --create-db

Loading…
Cancel
Save