diff --git a/.env_dev b/.env_dev new file mode 100644 index 000000000..f207cb050 --- /dev/null +++ b/.env_dev @@ -0,0 +1,13 @@ +DATABASE_URL = postgresql://sapl:sapl@localhost:5432/sapl +SECRET_KEY=adoihswaywieiuwae7!*&&!@#&*@!#&*TISSAD +DEBUG=False +NAME=sapl +USER=sapl +PASSWORD=sapl +HOST=localhost +PORT=5432 +EMAIL_USE_TLS = True +EMAIL_PORT = 587 +EMAIL_HOST = 'smtp.interlegis.leg.br' +EMAIL_HOST_USER = 'sapl-test' +EMAIL_HOST_PASSWORD = '2BhCwbGHcZ' \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 257642f65..9fa8e9175 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,15 @@ services: install: - sudo apt-get install git nginx python3-dev libpq-dev graphviz-dev graphviz pkg-config python-psycopg2 nodejs npm - - pip install -r requirements/test-requirements.txt + - sudo apt-get install curl -y + - sudo npm cache clean -f + - sudo npm install -g n + - sudo n stable - sudo npm install -g bower + - pip install -r requirements/test-requirements.txt before script: + - cp .env_dev .env - psql -c 'create database travis_ci_test;' -U postgres - npm install -g bower - bower install