From cb6694324cc150f76410d75dbcfb0d013585d8c9 Mon Sep 17 00:00:00 2001 From: giumas Date: Sat, 4 May 2024 14:26:15 +0200 Subject: [PATCH] removed legacy travis and appveyor scripts --- .travis.yml | 88 ---------------------------------------------------- appveyor.yml | 73 ------------------------------------------- 2 files changed, 161 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index efce0ae..0000000 --- a/.travis.yml +++ /dev/null @@ -1,88 +0,0 @@ -# Based on: http://conda.pydata.org/docs/travis.html - -sudo: false - -# Travis-CI does not currently support Python and Mac OS X -language: c - -os: - - linux - - osx - -env: - matrix: - - PYTHON_VERSION=3.6 - -cache: - apt: true - brew: true - -before_install: - # Set the anaconda environment - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$PYTHON_VERSION" == "2.7" ]]; then - curl https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -o miniconda.sh; - else - curl https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o miniconda.sh; - fi - else - if [[ "$PYTHON_VERSION" == "2.7" ]]; then - wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; - else - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - fi - 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 update -q conda - - conda info -a - - # create and activate a test-environment - - conda create -q -n test-environment python=$PYTHON_VERSION - - source activate test-environment - -install: - # libraries from conda-forge - - conda config --add channels conda-forge - # python packages - - conda install -q adios-python h5py lxml numpy matplotlib pydap requests shapely proj4 geos cartopy setuptools gdal - - pip install --no-deps hyo2.bag - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - pip install wxPython; - else - pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04 wxPython; - fi - - pip install --no-deps -e . - -script: - - "python -m unittest hdf_compass.array_model.test" - - "python -m unittest hdf_compass.asc_model.test" - - "python -m unittest hdf_compass.bag_model.test" - - "python -m unittest hdf_compass.filesystem_model.test" - - "python -m unittest hdf_compass.hdf5_model.test" -# - "python -m unittest hdf_compass.opendap_model.test" - - "python -m unittest hdf_compass.adios_model.test" - -after_script: - # If tests are successful, create a source distribution. - - python setup.py sdist - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - python setup.py bdist_wheel; - fi - -addons: - artifacts: - debug: true - paths: - - ./dist - apt: - packages: - - libmxml-dev - - libgtk-3-dev - - libgstreamer0.10-dev - - libgstreamer-plugins-base0.10-dev - - gir1.2-gstreamer-0.10 - - gir1.2-gst-plugins-base-0.10 diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d7f0677..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,73 +0,0 @@ -version: develop-{build} - -branches: - only: - - develop - -environment: - - matrix: - - - PYTHON_VERSION: 3.6 - PYTHON_ARCH: x86 - MINICONDA: C:\Miniconda3 - - - PYTHON_VERSION: 3.6 - PYTHON_ARCH: x64 - MINICONDA: C:\Miniconda3-x64 - -matrix: - - allow_failures: - - - PYTHON_VERSION: 3.6 - PYTHON_ARCH: x86 - MINICONDA: C:\Miniconda3 - -install: - # Install miniconda using a powershell script. - # - "choco install -y miniconda" - - "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 create -q -n test-environment python=%PYTHON_VERSION%" - - conda config --add channels conda-forge - - activate test-environment - - # Check that we have the expected version of Python - - "python --version" - - # Install dependencies - - conda install -q h5py lxml numpy matplotlib pydap requests shapely proj4 geos cartopy setuptools gdal - - pip install --no-deps hyo2.bag - - pip install wxPython - - # Add to path the current folder - - "SET PYTHONPATH=%PYTHONPATH%;%CD%" - -build_script: - - python setup.py build - -test_script: - - "python -m unittest hdf_compass.array_model.test" - - "python -m unittest hdf_compass.asc_model.test" -# - "python -m unittest hdf_compass.bag_model.test" - - "python -m unittest hdf_compass.filesystem_model.test" -# - "python -m unittest hdf_compass.hdf5_model.test" -# - "python -m unittest hdf_compass.opendap_model.test" - -after_test: - # If tests are successful, create a whl package for the project. - - pip install --no-deps -e . - - python setup.py bdist_wheel - # Freeze the application using PyInstaller - # - pyinstaller freeze/HDFCompass.1file.spec - # Show the content of the `dist` folder - - ps: ls dist - -artifacts: - # Archive the generated wheel package and the frozen application in the ci.appveyor.com build report. - - path: dist\* \ No newline at end of file