helios-server/.travis.yml

47 lines
794 B
YAML

language: python
os: linux
jobs:
include:
- python: "3.7"
dist: xenial
addons:
postgresql: "9.5"
- python: "3.7"
dist: xenial
addons:
postgresql: "9.6"
- python: "3.7"
dist: xenial
addons:
postgresql: "10"
- python: "3.8"
dist: bionic
addons:
postgresql: "9.5"
- python: "3.8"
dist: bionic
addons:
postgresql: "9.6"
- python: "3.8"
dist: bionic
addons:
postgresql: "10"
- python: "3.8"
dist: bionic
addons:
postgresql: "11"
before_install:
- export BOTO_CONFIG=/dev/null
install:
- pip3 install --upgrade pip
- pip3 install -r requirements.txt
- pip3 freeze
before_script:
- psql -c 'create database helios;' -U postgres
script: "python3 -Wall manage.py test -v 2"