Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

WIP: Anaconda org weekly upload #68

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 28 additions & 51 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,51 +35,6 @@ matrix:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- os: linux
env:
- MB_PYTHON_VERSION=3.6
- PLAT=i686
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- CYTHON_BUILD_DEP="Cython"
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- NP_BUILD_DEP=numpy==1.17.3
- NP_TEST_DEP=numpy==1.17.3
- CYTHON_BUILD_DEP="Cython"
- os: linux
env:
- MB_PYTHON_VERSION=3.8
- PLAT=i686
- NP_BUILD_DEP=numpy==1.17.3
- NP_TEST_DEP=numpy==1.17.3
- CYTHON_BUILD_DEP="Cython"
- os: linux
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- CYTHON_BUILD_DEP="Cython"
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.6
- NP_BUILD_DEP=numpy==1.13.3
- NP_TEST_DEP=numpy==1.13.3
- os: osx
language: generic
env:
- MB_PYTHON_VERSION=3.7
- NP_BUILD_DEP=numpy==1.14.5
- NP_TEST_DEP=numpy==1.14.5
- CYTHON_BUILD_DEP="Cython"
- os: osx
language: generic
osx_image: xcode10.1
Expand Down Expand Up @@ -118,9 +73,31 @@ after_success:
# Upload may not work for Python 3.7:
# https://github.com/ogrisel/wheelhouse-uploader/issues/27
- pip install wheelhouse-uploader
# disable uploads because we have lost free hosting
# with Rackspace:
#- travis_wait python -m wheelhouse_uploader upload --local-folder
# ${TRAVIS_BUILD_DIR}/wheelhouse/
# $UPLOAD_ARGS
# $CONTAINER
# conda will be used to handle uploads
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
if [ "$PLAT" != "i686" ]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86.sh -O miniconda.sh;
fi
else
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# trigger an upload to the shared ecosystem
# infrastructure at: https://anaconda.org/scipy-wheels-nightly
# for cron jobs only (restricted to master branch once
# per week)
# SCIPY_WHEELS_NIGHTLY is a secret token
# used in Travis CI config, originally
# generated at anaconda.org for scipy-wheels-nightly
- if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then
ANACONDA_ORG="scipy-wheels-nightly";
conda create -q -n test-environment python=${MB_PYTHON_VERSION} anaconda-client;
conda activate test-environment;
anaconda -t ${SCIPY_WHEELS_NIGHTLY} upload --force -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
fi
264 changes: 0 additions & 264 deletions appveyor.yml

This file was deleted.