Skip to content

Commit

Permalink
[travis] installation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Sep 9, 2022
1 parent d13b96f commit 9073c07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dist: focal
dist: jammy
language: python
sudo: required
cache:
Expand Down Expand Up @@ -26,7 +26,8 @@ python:
- '3.7'

install:
- pip install --ignore-installed six # install six inside the venv since the system version is too old
- mkdir -p ~/.cache/pip/wheels # remove warning "Url 'file:///home/travis/.cache/pip/wheels' is ignored: it is neither a file nor a directory."
- pip install --ignore-installed setuptools pip six certifi # install packages inside the venv if the system version is too old
- pip install numpy
- pip install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="$(gdal-config --cflags)"
- pip install -r requirements.txt
Expand Down

0 comments on commit 9073c07

Please sign in to comment.