Browse Source

wip27

pull/386/head
Eduardo Calil 10 years ago
parent
commit
e17d0ce16f
  1. 2
      .env_dev
  2. 7
      .travis.yml

2
.env_dev

@ -1,5 +1,5 @@
DATABASE_URL = postgresql://sapl:sapl@localhost:5432/sapl DATABASE_URL = postgresql://sapl:sapl@localhost:5432/sapl
SECRET_KEY=adoihswaywieiuwae7!*&&!@#&*@!#&*TISSAD SECRET_KEY=2j_-c$_8rssj3ijw=!tf$zr6vlee=s5z^w056trow(%t=k2o9_
DEBUG=False DEBUG=False
NAME=sapl NAME=sapl
USER=sapl USER=sapl

7
.travis.yml

@ -7,16 +7,19 @@ python:
services: services:
- postgresql - postgresql
addons:
postgresql: "9.3"
install: install:
- sudo apt-get install git nginx python3-dev libpq-dev graphviz-dev graphviz pkg-config python-psycopg2 nodejs npm - 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 - sudo ln -s /usr/bin/node
- npm install -g bower - npm install -g bower
- npm install -g bower
- pip install -r requirements/test-requirements.txt - pip install -r requirements/test-requirements.txt
before script: before script:
- cp .env_dev .env - cp .env_dev .env
- psql -c 'create database travis_ci_test;' -U postgres - psql -c 'create database travis_ci_test;' -U postgres
- npm install -g bower
- bower install - bower install
- manage.py migrate - manage.py migrate

Loading…
Cancel
Save