mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
ci: remove travis
This commit is contained in:
parent
eb610ccca7
commit
da94f138d4
2 changed files with 0 additions and 115 deletions
77
.travis.yml
77
.travis.yml
|
|
@ -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
|
||||
|
|
@ -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/"])
|
||||
Loading…
Add table
Add a link
Reference in a new issue