Skip to content

Commit

Permalink
Update test environment
Browse files Browse the repository at this point in the history
- Use Ubuntu 20.04, instead of 16.04 so we get more recent Python
  versions
- Use `python3 -m pip` to always address the pip that matches your
  `python3` distribution.
- Update `setuptools` and `importlib-metadata` to make sure we are
  compatible with recent versions.
  • Loading branch information
mweinelt committed May 26, 2022
1 parent 9a62180 commit 394bd4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ python:
- '3.9'
- '3.10'

dist: bionic
dist: focal
os: linux

jobs:
fast_finish: true

before_install:
- python3 -m pip install -U setuptools importlib-metadata
- python3 -m pip install coverage coveralls tox-travis

install:
- pip install -e .
- python3 -m pip install -e .

script:
- tox
Expand Down

0 comments on commit 394bd4a

Please sign in to comment.