From 34e5e347216fd0d875183219df54946095e69a45 Mon Sep 17 00:00:00 2001 From: Markus Gerstel Date: Mon, 23 Nov 2020 16:13:53 +0000 Subject: [PATCH] Drop Travis CI --- .travis.yml | 44 -------------------------------------------- README.rst | 4 ++-- tox.ini | 7 +------ 3 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 22e5511..0000000 --- a/.travis.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Config file for automatic testing at travis-ci.org - -language: python - -matrix: - include: - - python: 3.8 - - python: 3.7 - - python: 3.6 - - os: osx - language: generic - env: CONDA=3.8 TOXENV=py38 - - os: osx - language: generic - env: CONDA=3.7 TOXENV=py37 - - os: osx - language: generic - env: CONDA=3.6 TOXENV=py36 - - allow_failures: - - env: OPTIONAL=1 - - fast_finish: true - -before_install: | - if [ ! -z "$CONDA" ]; then - if [ "$TRAVIS_OS_NAME" == "osx" ]; then - curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh --output miniconda.sh - fi - chmod +x miniconda.sh - ./miniconda.sh -b - export PATH=$HOME/miniconda3/bin:$PATH - conda update --yes conda - conda create --yes -n travis python=$CONDA - source activate travis - # A manual check that the correct version of Python is running. - python --version - fi - -# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors -install: pip install -U tox-travis - -# Command to run tests, e.g. python setup.py test -script: tox diff --git a/README.rst b/README.rst index 0fbe170..5c541d6 100644 --- a/README.rst +++ b/README.rst @@ -11,8 +11,8 @@ ProcRunner :target: https://anaconda.org/conda-forge/procrunner :alt: Conda Version -.. image:: https://travis-ci.org/DiamondLightSource/python-procrunner.svg?branch=master - :target: https://travis-ci.org/DiamondLightSource/python-procrunner +.. image:: https://dev.azure.com/procrunner/procrunner/_apis/build/status/CI?branchName=master + :target: https://github.com/DiamondLightSource/python-procrunner/commits/master :alt: Build status .. image:: https://ci.appveyor.com/api/projects/status/jtq4brwri5q18d0u/branch/master diff --git a/tox.ini b/tox.ini index 3dcc731..db62e13 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,6 @@ [tox] envlist = py36, py37, py38, flake8 -[travis] -python = - 3.8: py38 - 3.7: py37 - 3.6: py36 - [testenv:azure] basepython = python deps = @@ -26,6 +20,7 @@ commands = flake8 procrunner [testenv] setenv = PYTHONPATH = {toxinidir} + PYTHONDEVMODE = 1 deps = -r{toxinidir}/requirements_dev.txt ; If you want to make tox run the tests with the same versions, create a