From e550230dde15e47c0833ce53bcc9b0bf18c13b10 Mon Sep 17 00:00:00 2001 From: giumas Date: Thu, 16 May 2024 21:14:55 +0200 Subject: [PATCH] minor fixes --- .travis.yml | 52 ---------------------------------------------- appveyor.yml | 58 ---------------------------------------------------- 2 files changed, 110 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5f5febe..0000000 --- a/.travis.yml +++ /dev/null @@ -1,52 +0,0 @@ -language: cpp # Travis-CI does not currently support Python and Mac OS X - -os: - - linux - - osx - -env: - - PYTHON_VERSION=3.6 - - PYTHON_VERSION=3.8 - -matrix: - fast_finish: true - allow_failures: - - os: osx - - env: PYTHON_VERSION=3.8 - -install: - - "export DISPLAY=:99.0" - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )& - curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o miniconda.sh; - else - sudo apt-get update; - sh -e /etc/init.d/xvfb start; - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - fi - - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" - - hash -r - - conda config --set always_yes yes --set changeps1 no - - conda config --add channels conda-forge - - conda update -q conda - # Useful for debugging any issues with conda - - conda info -a - - # create and activate a test-environment - - conda create -q -n test-environment python=$PYTHON_VERSION - - source activate test-environment - - pip install PySide2 - - conda install -q numpy matplotlib-base h5py lxml gdal - - pip install PyYAML - - pip install coveralls - - pip install . - # - conda remove --force PyQt Qt sip - # - rm -f $HOME/miniconda/envs/test-environment/qt.conf - - conda list --show-channel-urls - -script: - - coverage run --source hyo2 setup.py test - -after_success: - - coveralls diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d9f9dae..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,58 +0,0 @@ -version: 1.0.{build}-{branch} - -environment: - - matrix: - - - PYTHON_VERSION: 3.6 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda36-x64 - - - PYTHON_VERSION: 3.8 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda36-x64 - -matrix: - - allow_failures: - - - PYTHON_VERSION: 3.8 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda36-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 - - pip install wheel - - # Check that we have the expected version of Python - - python --version - - pip install PyYAML - - pip install coveralls - - pip install PySide2 - - conda install -q numpy matplotlib-base h5py lxml cython gdal - -build: off -build_script: - - pip install . - - conda list --show-channel-urls - -test: off -test_script: - - coverage run --source hyo2 setup.py test - - coverage report -m - - coveralls - -after_test: - - python setup.py bdist_wheel - -artifacts: - - path: dist\* \ No newline at end of file