From 889b8c1d60706add1fe6d2875cdb1f91868944e9 Mon Sep 17 00:00:00 2001 From: giumas Date: Sat, 11 May 2024 21:36:16 +0200 Subject: [PATCH] removed travis and appveyor + fixed setup description --- .travis.yml | 53 ---------------- appveyor.yml | 71 ---------------------- docs/developer_guide_how_to_contribute.rst | 12 +--- 3 files changed, 1 insertion(+), 135 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9b5c18ea..00000000 --- a/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: cpp # Travis-CI does not currently support Python and Mac OS X - -os: - - linux - - osx - -env: - - PYTHON_VERSION=3.8 - - PYTHON_VERSION=3.9 - - PYTHON_VERSION=3.10 - -matrix: - fast_finish: true - allow_failures: - - os: osx - - env: PYTHON_VERSION=3.10 - -install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MINICONDA_OS=Linux; else MINICONDA_OS=MacOSX; fi - - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-$MINICONDA_OS-x86_64.sh -O miniconda.sh - - bash miniconda.sh -b -p "$HOME"/miniconda - - source "$HOME"/miniconda/etc/profile.d/conda.sh - - conda config --set always_yes yes --set changeps1 no --set auto_update_conda false --set notify_outdated_conda false - - conda config --add channels conda-forge - - conda update -q conda - - conda info -a - - conda create -q -n test-environment python=$PYTHON_VERSION - - conda activate test-environment - - python --version - - - pip install coveralls PyYAML pytest pytest-cov wheel - # for hyo2.abc2 - - conda install appdirs cartopy gdal matplotlib-base numpy psutil pyproj - - pip install PySide6 - - pip install https://github.com/hydroffice/hyo2_abc/archive/master.zip - # for hyo2.soundspeed - - conda install gsw netCDF4 pillow pyserial scipy - - # --no-deps because of pip not detecting the installed hyo2.abc2 - - pip install --no-deps . - - conda list --show-channel-urls - -script: - - coverage run --source hyo2 setup.py test - - coverage report -m - - coveralls - -after_script: - - python setup.py bdist_wheel - -after_success: - - path: dist\* - diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 303b1170..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,71 +0,0 @@ -version: 2024.{build}-{branch} - -image: Visual Studio 2015 - -environment: - - matrix: - - - PYTHON_VERSION: 3.8 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda37-x64 - - - PYTHON_VERSION: 3.9 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda37-x64 - - - PYTHON_VERSION: 3.10 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda37-x64 - -matrix: - - allow_failures: - - - PYTHON_VERSION: 3.9 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda37-x64 - - - PYTHON_VERSION: 3.10 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda37-x64 - -install: - - set PATH=%MINICONDA%;%MINICONDA%\Scripts;%PATH% - - # Install the build and runtime dependencies of the project. - - conda config --set always_yes yes --set changeps1 no - - conda update -q conda - - conda info -a - - conda config --add channels conda-forge - - conda create -q -n test-environment python=%PYTHON_VERSION% - - activate test-environment - - # Check that we have the expected version of Python - - python --version - - - pip install coveralls PyYAML pytest pytest-cov wheel - # for hyo2.abc2 - - conda install appdirs cartopy "gdal<3.0.0" matplotlib-base numpy psutil pyproj - - pip install PySide6 - # for hyo2.soundspeed - - conda install gsw netCDF4 pillow pyserial scipy - - pip install https://github.com/hydroffice/hyo2_abc/archive/master.zip - -build: off -build_script: - # --no-deps because of pip not detecting the installed hyo2.abc2 - - pip install --no-deps . - - conda list --show-channel-urls - -test: off -test_script: - - py.test --cov - - coverage report -m - - coveralls - -after_test: - - python setup.py bdist_wheel - -artifacts: - - path: dist\* diff --git a/docs/developer_guide_how_to_contribute.rst b/docs/developer_guide_how_to_contribute.rst index e3b00367..85b43ea0 100644 --- a/docs/developer_guide_how_to_contribute.rst +++ b/docs/developer_guide_how_to_contribute.rst @@ -3,16 +3,6 @@ How to contribute ----------------- -.. index:: - single: open source - single: contribution - single: code of conduct - single: PEP; 8 - single: PEP; 257 - single: documentation - single: compatibility - single: history - Every open source project lives from the generous help by contributors that sacrifice their time and this is no different. Public Repositories @@ -46,7 +36,7 @@ Here are a few hints and rules to get you started: In the best case, we can mold it into something, in the worst case the pull request gets politely closed. There's absolutely nothing to fear. -Thank you for considering to contribute! If you have any question or concerns, feel free to reach out to us (see :ref:`credits-label`). +Thank you for considering to contribute! If you have any question or concerns, feel free to reach out to us. .. _`short tutorial`: https://gist.github.com/giumas/67abeffcbf49d00703a57cbafac8b118 .. _`GitHub`: https://github.com/hydroffice/hyo_soundspeed