Skip to content
Snippets Groups Projects
Unverified Commit dfc6bace authored by Barnabás Czémán's avatar Barnabás Czémán Committed by GitHub
Browse files

Create .travis.yml

parent 2cee1748
Branches
Tags
No related merge requests found
language: python
python:
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly"
services:
- postgresql
# command to install dependencies
install:
- pip install -r requirements/development.txt
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
env:
- DATABASE_URL="postgresql://postgres:postgres@postgres:5432/travis_ci_test"
- SECRET_KEY="secret"
- AUTHSCH_KEY="secret"
- AUTHSCH_SECRET="secret"
# command to run tests
script:
- flake8 --max-line-length=125 --exclude=src/kszkepzes,migrations
- python src/manage.py migrate
- python src/manage.py test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment