travis: drop py37, switch to focal
-dist: xenial
+dist: focal
matrix:
include:
@@ -11,28 +11,6 @@ matrix:
script:
- npm run test:unit
- - language: python
- python: "3.7"
- services:
- - postgresql
- - redis
-
- before_script:
- - psql -c 'CREATE DATABASE travisci;' -U postgres
- - psql -c "CREATE USER travisci WITH PASSWORD 'travisSuperSekret6645';" -U postgres
- - psql -c 'GRANT ALL PRIVILEGES ON DATABASE travisci TO travisci;' -U postgres
- - psql -c 'ALTER USER travisci CREATEDB;' -U postgres
-
- before_install:
- - cd api/tacticalrmm
-
- install:
- - pip install --upgrade pip
- - pip install -r requirements.txt
-
- script:
- - python manage.py test -v 2
-
- language: python
python: "3.8"
services:
@@ -49,8 +27,9 @@ matrix:
- cd api/tacticalrmm
install:
- - pip install --upgrade pip
- - pip install -r requirements.txt
+ - pip install --no-cache-dir --upgrade pip
+ - pip install --no-cache-dir setuptools==49.6.0 wheel==0.35.1
+ - pip install --no-cache-dir -r requirements.txt
script:
- python manage.py test -v 2
