From da94f138d48f1ad5de0d18c7ac80ee5937a40492 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Tue, 19 Dec 2023 11:01:46 +0100 Subject: [PATCH] ci: remove travis --- .travis.yml | 77 ------------------------------------------------- travis_tests.py | 38 ------------------------ 2 files changed, 115 deletions(-) delete mode 100644 .travis.yml delete mode 100644 travis_tests.py diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2de5e89a..00000000 --- a/.travis.yml +++ /dev/null @@ -1,77 +0,0 @@ -sudo: false - -osx_image: xcode12.2 - -os: -- osx -- linux - -addons: - apt_packages: - - pandoc - -#cache: -# directories: -# - "$HOME/download/" -# - "$HOME/install/" - -env: - - PYTHON_VERSION=3.6 - - PYTHON_VERSION=3.7 - - PYTHON_VERSION=3.8 - - PYTHON_VERSION=3.9 - - PYTHON_VERSION=3.10 - - PYTHON_VERSION=3.11 - - PYTHON_VERSION=3.12 - # TODO: add more recent python versions? will later address this in the issue claiming we follow numpy - -before_install: -- wget https://github.com/mzwiessele/travis_scripts/raw/master/download_miniconda.sh -- wget https://github.com/mzwiessele/travis_scripts/raw/master/install_retry.sh -- source download_miniconda.sh -- echo $PATH -# why not cloning a miniconda container?! - -install: -- echo $PATH -- source install_retry.sh -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; - then - conda install --yes pandoc; - fi; -- pip install codecov -- pip install coveralls -- pip install pypandoc -- pip install git+git://github.com/BRML/climin.git -- pip install autograd -- python setup.py develop - -script: - - coverage run travis_tests.py - -after_success: - - codecov - - coveralls - -before_deploy: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; - then - export DIST='sdist bdist_rpm bdist_dumb'; - elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; - then - export DIST='bdist_wheel'; - fi; - -deploy: - provider: pypi - user: maxz - password: - secure: "vMEOlP7DQhFJ7hQAKtKC5hrJXFl5BkUt4nXdosWWiw//Kg8E+PPLg88XPI2gqIosir9wwgtbSBBbbwCxkM6uxRNMpoNR8Ixyv9fmSXp4rLl7bbBY768W7IRXKIBjpuEy2brQjoT+CwDDSzUkckHvuUjJDNRvUv8ab4P/qYO1LG4=" - on: - branch: deploy - edge: - branch: v1.8.45 - distributions: $DIST - skip_existing: true - skip_cleanup: true - skip_upload_docs: false diff --git a/travis_tests.py b/travis_tests.py deleted file mode 100644 index f736d322..00000000 --- a/travis_tests.py +++ /dev/null @@ -1,38 +0,0 @@ -# =============================================================================== -# Copyright (c) 2015, Max Zwiessele -# -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# * Neither the name of GPy nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# =============================================================================== - -#!/usr/bin/env python -import pytest -import matplotlib - -matplotlib.use("agg") - -pytest.main(["GPy/testing/"])