diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..b079209bf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +python: + - "3.6" + +services: + - postgresql + +env: + matrix: + - DJANGO=2.1 DB=postgres + global: + - SECRET_KEY=not_so_secret + B_DATABASE_URL="postgres://postgres@localhost/test_db" + ALLOWED_HOSTS= "localhost" + SENTRY_DSN="" + +install: + - pip install -r requirements.txt + +before_script: + - psql -c 'create database test_db;' -U postgres + +script: + - python manage.py test \ No newline at end of file