-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from GeoStat-Framework/1.2.0_release
1.2.0 release
- Loading branch information
Showing
139 changed files
with
4,221 additions
and
4,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,100 @@ | ||
language: python | ||
python: 3.8 | ||
|
||
matrix: | ||
include: | ||
- name: "Linux py27" | ||
sudo: required | ||
language: python | ||
python: 2.7 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp27-*" | ||
- COVER="off" | ||
# setuptools-scm needs all tags in order to obtain a proper version | ||
git: | ||
depth: false | ||
|
||
env: | ||
global: | ||
- TWINE_USERNAME=geostatframework | ||
- CIBW_BEFORE_BUILD="pip install numpy==1.17.3 cython==0.29.14 setuptools" | ||
- CIBW_TEST_REQUIRES=pytest | ||
- CIBW_TEST_COMMAND="pytest -v {project}/tests" | ||
|
||
- name: "Linux py34" | ||
sudo: required | ||
language: python | ||
python: 3.4 | ||
before_install: | ||
- | | ||
if [[ "$TRAVIS_OS_NAME" = windows ]]; then | ||
choco install python --version 3.8.0 | ||
export PATH="/c/Python38:/c/Python38/Scripts:$PATH" | ||
# make sure it's on PATH as 'python3' | ||
ln -s /c/Python38/python.exe /c/Python38/python3.exe | ||
fi | ||
script: | ||
- python3 -m pip install cibuildwheel==1.3.0 | ||
- python3 -m cibuildwheel --output-dir dist | ||
|
||
after_success: | ||
- | | ||
if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then | ||
python3 -m pip install twine | ||
python3 -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* | ||
if [[ $TRAVIS_TAG ]]; then python3 -m twine upload --verbose --skip-existing dist/*; fi | ||
fi | ||
notifications: | ||
email: | ||
recipients: | ||
- info@geostat-framework.org | ||
|
||
jobs: | ||
include: | ||
- name: "sdist and coverage" | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp34-*" | ||
- COVER="off" | ||
env: OMP_NUM_THREADS=4 | ||
script: | ||
- python3 -m pip install -U setuptools pytest-cov coveralls | ||
- python3 -m pip install -U numpy==1.17.3 cython==0.29.14 | ||
- python3 -m pip install -r requirements.txt | ||
- python3 setup.py sdist -d dist | ||
- python3 setup.py --openmp build_ext --inplace | ||
- python3 -m pytest --cov gstools --cov-report term-missing -v tests/ | ||
- python3 -m coveralls | ||
|
||
- name: "Linux py35" | ||
sudo: required | ||
language: python | ||
python: 3.5 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp35-*" | ||
- COVER="off" | ||
|
||
# py36 for coverage and sdist | ||
env: CIBW_BUILD="cp35-*" | ||
- name: "Linux py36" | ||
sudo: required | ||
language: python | ||
python: 3.6 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp36-*" | ||
- COVER="on" | ||
|
||
# https://github.com/travis-ci/travis-ci/issues/9815 | ||
env: CIBW_BUILD="cp36-*" | ||
- name: "Linux py37" | ||
sudo: required | ||
language: python | ||
python: 3.7 | ||
dist: xenial | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp37-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py27" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp27-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py34" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp34-*" | ||
- COVER="off" | ||
env: CIBW_BUILD="cp37-*" | ||
- name: "Linux py38" | ||
services: docker | ||
env: CIBW_BUILD="cp38-*" | ||
|
||
- name: "MacOS py35" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp35-*" | ||
- COVER="off" | ||
|
||
language: shell | ||
env: CIBW_BUILD="cp35-*" | ||
- name: "MacOS py36" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp36-*" | ||
- COVER="off" | ||
|
||
language: shell | ||
env: CIBW_BUILD="cp36-*" | ||
- name: "MacOS py37" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp37-*" | ||
- COVER="off" | ||
|
||
env: | ||
global: | ||
- TWINE_USERNAME=geostatframework | ||
- CIBW_BEFORE_BUILD="pip install numpy==1.14.5 cython==0.28.3" | ||
- CIBW_TEST_REQUIRES=pytest-cov | ||
# inplace cython build and test run | ||
- CIBW_TEST_COMMAND="cd {project} && python setup.py build_ext --inplace && py.test --cov gstools --cov-report term-missing -v {project}/tests" | ||
|
||
script: | ||
# create wheels | ||
- $PIP install cibuildwheel==0.11.1 | ||
- cibuildwheel --output-dir wheelhouse | ||
# create source dist for pypi and create coverage (only once for linux py3.6) | ||
- | | ||
if [[ $COVER == "on" ]]; then | ||
rm -rf dist | ||
python -m pip install -U numpy==1.14.5 cython==0.28.3 setuptools | ||
python -m pip install pytest-cov coveralls | ||
python -m pip install -r docs/requirements.txt | ||
python setup.py sdist | ||
python setup.py build_ext --inplace | ||
python -m pytest --cov gstools --cov-report term-missing -v tests/ | ||
python -m coveralls | ||
fi | ||
after_success: | ||
# pypi upload ("test" allways and "official" on TAG) | ||
- python -m pip install twine | ||
- python -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ wheelhouse/*.whl | ||
- python -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*.tar.gz | ||
- | | ||
if [[ $TRAVIS_TAG ]]; then | ||
python -m twine upload --verbose --skip-existing wheelhouse/*.whl | ||
python -m twine upload --verbose --skip-existing dist/*.tar.gz | ||
fi | ||
language: shell | ||
env: CIBW_BUILD="cp37-*" | ||
- name: "MacOS py38" | ||
os: osx | ||
language: shell | ||
env: CIBW_BUILD="cp38-*" | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- info@geostat-framework.org | ||
- name: "Win py35" | ||
os: windows | ||
language: shell | ||
env: CIBW_BUILD="cp35-*" | ||
- name: "Win py36" | ||
os: windows | ||
language: shell | ||
env: CIBW_BUILD="cp36-*" | ||
- name: "Win py37" | ||
os: windows | ||
language: shell | ||
env: CIBW_BUILD="cp37-*" | ||
- name: "Win py38" | ||
os: windows | ||
language: shell | ||
env: CIBW_BUILD="cp38-*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"license": "LGPL-3.0+", | ||
"contributors": [ | ||
{ | ||
"type": "Other", | ||
"name": "Bane Sullivan" | ||
}, | ||
{ | ||
"orcid": "0000-0002-2547-8102", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"type": "ResearchGroup", | ||
"name": "Falk He\u00dfe" | ||
}, | ||
{ | ||
"orcid": "0000-0002-8783-6198", | ||
"affiliation": "Hydrogeology Group, Department of Earth Science, Utrecht University, Netherlands", | ||
"type": "ResearchGroup", | ||
"name": "Alraune Zech" | ||
}, | ||
{ | ||
"orcid": "0000-0002-7798-7080", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"type": "Supervisor", | ||
"name": "Sabine Attinger" | ||
} | ||
], | ||
"language": "eng", | ||
"keywords": [ | ||
"geostatistics", | ||
"kriging", | ||
"random fields", | ||
"covariance models", | ||
"variogram", | ||
"Python", | ||
"GeoStat-Framework" | ||
], | ||
"creators": [ | ||
{ | ||
"orcid": "0000-0001-9060-4008", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"name": "Sebastian M\u00fcller" | ||
}, | ||
{ | ||
"orcid": "0000-0001-9362-1372", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"name": "Lennart Sch\u00fcler" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.