|
|
@ -10,7 +10,10 @@ install: |
|
|
- pip install -r requirements/test-requirements.txt |
|
|
- pip install -r requirements/test-requirements.txt |
|
|
|
|
|
|
|
|
before_script: |
|
|
before_script: |
|
|
- npm install -g bower |
|
|
- cd sapl-frontend |
|
|
|
|
|
- yarn install |
|
|
|
|
|
- yarn build |
|
|
|
|
|
- cd .. |
|
|
- 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 |
|
|
@ -18,7 +21,6 @@ before_script: |
|
|
|
|
|
|
|
|
script: |
|
|
script: |
|
|
- ./manage.py migrate |
|
|
- ./manage.py migrate |
|
|
- ./manage.py bower install |
|
|
|
|
|
- py.test --create-db |
|
|
- py.test --create-db |
|
|
# - ./scripts/django/test_and_check_qa.sh |
|
|
# - ./scripts/django/test_and_check_qa.sh |
|
|
|
|
|
|
|
|
|