|
|
@ -3,20 +3,20 @@ language: python |
|
|
python: |
|
|
python: |
|
|
- 3.5 |
|
|
- 3.5 |
|
|
|
|
|
|
|
|
node_js: |
|
|
|
|
|
- 10.15.0 |
|
|
|
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
- postgresql |
|
|
- postgresql |
|
|
|
|
|
|
|
|
|
|
|
before_install: |
|
|
|
|
|
- nvm install 10.15.0 |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- pip install -r requirements/test-requirements.txt |
|
|
- pip install -r requirements/test-requirements.txt |
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
|
- cd sapl-frontend |
|
|
- cd sapl-frontend |
|
|
- yarn install |
|
|
- yarn install |
|
|
- yarn build |
|
|
- yarn build |
|
|
- cd .. |
|
|
- cd .. |
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|