Commit a675f5ad authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

Fix segmentation fault in tests.

parent 641ad641
......@@ -27,6 +27,7 @@ build-job:
- pymagglobal/*.py
- pymagglobal/dat/*
- setup.py
- tests/*
test-run:
stage: test
......@@ -34,6 +35,9 @@ test-run:
- apt-get update -y -qq
- apt-get install -y -qq python3-dev python3-pip libproj-dev libgeos-dev proj-bin
- pip install pymagglobal -f dist/
# This is to cope with a segfault that suddenly appeared with cartopy
- pip uninstall -y shapely
- 'pip install --no-binary :all: shapely'
- python3 tests/run_tests.py
- pip uninstall -y pymagglobal
- pip install pymagglobal[tests] -f dist/
......@@ -98,6 +102,9 @@ test-debian:
- apt-get update -y -qq
- apt-get install -y -qq python3-dev python3-pip libproj-dev libgeos-dev proj-bin
- pip install pymagglobal --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@git.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
# This is to cope with a segfault that suddenly appeared with cartopy
- pip uninstall -y shapely
- 'pip install --no-binary :all: shapely'
- python3 tests/run_tests.py
- pip uninstall -y pymagglobal
- pip install pymagglobal[tests] --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@git.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
......@@ -134,5 +141,12 @@ pages:
paths:
- public
only:
- master
refs:
- master
changes:
- pymagglobal/*.py
- pymagglobal/dat/*
- setup.py
- docs/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment