forked from nautobot/nautobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 837 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
sudo: required
services:
- postgresql
- redis-server
addons:
postgresql: "9.6"
language: python
matrix:
include:
- python: "3.6"
- python: "3.7"
- python: "3.8"
- python: "3.9"
allow_failures:
- python: "3.9"
before_install:
- pip install poetry
install:
- poetry config virtualenvs.create false
# Poetry 1.1.0 added parallel installation as an option;
# unfortunately it seems to have some issues with installing/updating "requests" and "certifi"
# while simultaneously atttempting to *use* those packages to install other packages.
# For now we disable it.
- poetry config installer.parallel false
- poetry install
before_script:
- psql --version
- psql -U postgres -c 'SELECT version();'
- psql -U postgres -c 'create database nautobot;'
script:
- poetry run ./scripts/cibuild.sh