diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 88c6dde54..000000000 --- a/.travis.yml +++ /dev/null @@ -1,43 +0,0 @@ -language: sh - -matrix: - include: - - os: linux - env: PYENV=py37 -# Observed on 9-Jun-20, timeout due to environment conflict -# - os: linux -# env: PYENV=py38 - - os: osx - env: PYENV=py37 -# Observed on 9-Jun-20, timeout due to environment conflict -# - os: osx -# env: PYENV=py38 -# Observed on 10-Feb-19, choclatey builds for miniconda3 break -# see: https://github.com/conda/conda/issues/6064 -# It is not clear how/when this can be fixed, so turn this back off for now -# - os: windows -# env: PYENV=py37 - -before_install: - - source ./ci/env.sh - - bash ./ci/travis-install-miniconda.sh - - conda create -n testing python=$PYVERSION --yes - - source activate testing - - make -B virtual-environment - -install: - - make install - -script: - - conda list - - python -c "import os; print(os.environ['PYVERSION'])" - - python -c "import sys; print(sys.version)" - - python -c "import os, sys; assert os.environ['PYVERSION'] == '.'.join([sys.version[0], sys.version[2]])" - - make test - # only test docs once to make sure everything works on most recent python - - cd doc - - if [[ "${PYENV}" == "py37" && "${TRAVIS_OS_NAME}" != 'windows' ]]; then make html; fi - - cd .. - -after_success: - - cd tests && coveralls diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index cc4a4dad1..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,46 +0,0 @@ - -environment: - matrix: - - PYTHON_VERSION: "3.7" - MINICONDA: "C:\\Miniconda37-x64" - PYTHON_ARCH: "64" - - PYTHON_VERSION: "3.8" - MINICONDA: "C:\\Miniconda38-x64" - PYTHON_ARCH: "64" - -init: - - "ECHO %PYTHON_VERSION% %MINICONDA%" - -install: - # these correspond to folder naming of miniconda installs on appveyor. See - # https://www.appveyor.com/docs/installed-software#python - - if "%PYTHON_ARCH%" == "64" set "ARCH_LABEL=-x64" - # These are already installed on appveyor. Update them. - - set "CONDA_ROOT=C:\Miniconda%BASE_PYTHON_VERSION%%ARCH_LABEL%" - - set "PATH=%CONDA_ROOT%;%CONDA_ROOT%\Scripts;%CONDA_ROOT%\Library\bin;%PATH%" - - # create conda environment - - conda update --yes conda - - conda create -n testing python="%PYTHON_VERSION%" --yes - - conda --version - - activate testing - - conda install -y numpy pandas pyyaml seaborn==0.9.0 six requests jupyter nbconvert proj4==5.2.0 pywin32 - - conda install -y -c conda-forge matplotlib pyproj==1.9.6 - -build: false - -test_script: - - conda list - - pip install -e .[tests,deploy,optional-io-formats] - - pytest -v --mpl tests --mpl-results-path=test-artifacts - -artifacts: - - path: 'test-artifacts\*\*' - name: test-artifacts - -on_failure: - - dir test-artifacts /s /b /o:gn - - ps: Get-ChildItem test-artifacts\*\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } - -on_success: - - echo Build succesful! diff --git a/ci/.coveragerc b/ci/.coveragerc deleted file mode 100644 index f5d87a0b4..000000000 --- a/ci/.coveragerc +++ /dev/null @@ -1,3 +0,0 @@ -[report] -omit = - pyam/_version.py \ No newline at end of file diff --git a/ci/env.sh b/ci/env.sh deleted file mode 100644 index 090d00af8..000000000 --- a/ci/env.sh +++ /dev/null @@ -1,41 +0,0 @@ - -# setup miniconda url -case "${TRAVIS_OS_NAME}" in - linux) - OSNAME=Linux - EXT=sh - ;; - osx) - OSNAME=MacOSX - EXT=sh - ;; - windows) - OSNAME=Windows - EXT=exe - ;; -esac - -case "${PYENV}" in - py35) - export PYVERSION=3.5 - export CHOCOPATH='miniconda3' - export CHOCONAME='miniconda3' - ;; - py36) - export PYVERSION=3.6 - export CHOCOPATH='miniconda3' - export CHOCONAME='miniconda3' - ;; - py37) - export PYVERSION=3.7 - export CHOCOPATH='miniconda3' - export CHOCONAME='miniconda3' - ;; -esac -export URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-$OSNAME-x86_64.$EXT" - -if [[ "$TRAVIS_OS_NAME" != 'windows' ]]; then - export PATH=$HOME/miniconda/bin:$PATH -else - export PATH="/c/tools/$CHOCOPATH/scripts:/c/tools/$CHOCOPATH/:$PATH" -fi diff --git a/ci/environment-conda-default.txt b/ci/environment-conda-default.txt deleted file mode 100644 index 55839c533..000000000 --- a/ci/environment-conda-default.txt +++ /dev/null @@ -1,9 +0,0 @@ -numpy -pandas -pyyaml -six -requests -jupyter -nbconvert -matplotlib -matplotlib-base diff --git a/ci/environment-conda-forge.txt b/ci/environment-conda-forge.txt deleted file mode 100644 index c6009b635..000000000 --- a/ci/environment-conda-forge.txt +++ /dev/null @@ -1,5 +0,0 @@ -seaborn==0.9.0 -gdal -fiona -"poppler<0.66" -cython diff --git a/ci/travis-install-miniconda.sh b/ci/travis-install-miniconda.sh deleted file mode 100644 index 0c39107f3..000000000 --- a/ci/travis-install-miniconda.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -set -x -set -e - -# get directory of this script, thanks https://stackoverflow.com/a/246128 -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - -# get conda and install it -if [[ "$TRAVIS_OS_NAME" != 'windows' ]]; then - echo "Starting download from $URL" - wget $URL -O miniconda.sh --no-check-certificate - echo "Download complete from $URL" - chmod +x miniconda.sh - ./miniconda.sh -b -p $HOME/miniconda -else - choco install $CHOCONAME --params='"/AddToPath"' - choco install make -fi - -# update conda -conda update --yes conda -