Commit 4287ee4b authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

Fixed build jobs (remove fieldtools and omit conda-forge where not necessary.

parent 8b7ef0ad
......@@ -15,14 +15,6 @@ debian-job:
image: debian:testing
script:
- apt-get update -y -qq
- apt-get install -y -qq wget
- wget ftp://datapub.gfz-potsdam.de/download/10.5880.FIDGEO.2019.033/fieldtools-i2.tar.gz
- tar -xzf fieldtools-i2.tar.gz
- apt-get install -y -qq g++ libeigen3-dev swig python3-dev python3-setuptools python3-numpy
- cd fieldtools-i2
- CPPFLAGS='-Wno-deprecated' python3 setup.py build
- python3 setup.py install
- cd ..
- apt-get install -y -qq python3-matplotlib python3-cartopy python3-scipy python3-packaging
- python3 setup.py install
- python3 tests/run_tests.py
......@@ -33,10 +25,7 @@ debian-job:
build-job:
stage: build
script:
- conda install conda-build
- conda build -c conda-forge ./tests/FieldTools
- conda build purge
- conda build -c local -c conda-forge ./
- conda build meta.yaml
- conda build purge
# To some reason setting CONDA_BLD_PATH=conda_bld does not work
- mv /opt/conda/conda-bld ./conda_bld
......@@ -48,7 +37,7 @@ test-job:
stage: test
script:
- export CONDA_BLD_PATH=conda_bld # Received packages as artifacts
- conda install -c local -c conda-forge pymagglobal packaging
- conda install -c local pymagglobal packaging
- python tests/run_tests.py
artifacts:
paths:
......
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