mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
728 B
34 lines
728 B
language: python
|
|
sudo: required
|
|
|
|
python:
|
|
- "3.4.3"
|
|
|
|
services:
|
|
- postgresql
|
|
|
|
addons:
|
|
postgresql: "9.3.12"
|
|
|
|
env:
|
|
- DB=postgres
|
|
|
|
before_install:
|
|
- export DJANGO_SETTINGS_MODULE=ledenbestand.settings.local
|
|
|
|
install:
|
|
- sudo apt-get install git nginx python3-dev libpq-dev graphviz-dev graphviz postgresql-contrib pkg-config python-psycopg2 nodejs npm
|
|
- sudo ln -s /usr/bin/node
|
|
- pip install -r requirements/dev-requirements.txt
|
|
- pip install --upgrade setuptools
|
|
|
|
before_script:
|
|
- npm install -g bower
|
|
- cp .env_dev .env
|
|
- psql -c 'create database sapl;' -U postgres
|
|
- python manage.py syncdb –migrate –noinput
|
|
|
|
script:
|
|
- python manage.py test
|
|
- ./manage.py bower install
|
|
- ./test_and_check_qa.sh
|