Browse Source

Teste travis com comando para criar grupos antes do migrate

pull/505/head
Eduardo Edson Batista Cordeiro Alves 8 years ago
parent
commit
bbd0d8ca79
  1. 2
      .travis.yml

2
.travis.yml

@ -3,7 +3,6 @@ language: python
python: python:
- 3.4.3 - 3.4.3
services: services:
- postgresql - postgresql
@ -17,6 +16,7 @@ before_script:
- psql -c "CREATE DATABASE sapl OWNER sapl;" -U postgres - psql -c "CREATE DATABASE sapl OWNER sapl;" -U postgres
script: script:
- ./manage.py shell < scripts/inicializa_grupos_autorizacoes.py
- ./manage.py migrate - ./manage.py migrate
- ./manage.py bower install - ./manage.py bower install
- py.test - py.test

Loading…
Cancel
Save