Skip to content

Commit

Permalink
MNT: Re-rendered with conda-smithy 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Feb 1, 2017
1 parent 5d8c411 commit d0d41e3
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 88 deletions.
30 changes: 21 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,50 @@
language: generic

os: osx
osx_image: beta-xcode6.1
osx_image: xcode6.4

env:
matrix:

- CONDA_NPY=110 CONDA_PY=27
- CONDA_NPY=111 CONDA_PY=27
- CONDA_NPY=110 CONDA_PY=34
- CONDA_NPY=111 CONDA_PY=34
- CONDA_NPY=110 CONDA_PY=35
- CONDA_NPY=112 CONDA_PY=27
- CONDA_NPY=111 CONDA_PY=35
- CONDA_NPY=110 CONDA_PY=36
- CONDA_NPY=112 CONDA_PY=35
- CONDA_NPY=111 CONDA_PY=36
- CONDA_NPY=112 CONDA_PY=36
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "AXbmPEzI4fNqTD8qUEdAyuOteF571mRpA+VxAEHu3bhFVbsBJU9+LHzzJcfQItBld7cc3muiuT1fYC88cIjgc1hJd33vvgPK91LP2FObD1YSPzE8StfGJNkpK97c1FW1XVE7hbP1ykDGy0uhYUT/hesU1SXMUe+7dlEjRnzQtXnUrvEOQ7SFzBcleWUmZb/EpgVafJLFvL9IzkbxAOtLbYa9AjvuwLUnHQ+1f0naiBmvw2amLw+Wfijg4KI3LKXikVsuCx1lAgRDYrbg2aYyBen85wxQ25wzgcii+IAdsdW/MBHf3EF7CEkqKVA/dU8iSjiz1Ap6s7viBQUjesekJAiFlbN5ymSqvDweWh9kGL6KF1KYfCTehZcvXjVgOjtbkWqlbVWF1yZNHto8ETRWWXi4XFMyQZNNTr75iRVdn4/wafa0ilkPoM1swZqIJaZbDMXZUxp6KZmAlIOoU4sxZfzERDWcI10GsXDjmaP+h5R/EMT9Aqqx+7rkVn60+SebcjhW3l/y6lfTVK6sKrW764tsCmygH4CJpzxT959uD8ptPs4K5WPe7RDP8+mAvS0M7UbNEWPSbVT6O4ZMd+WsRdDq430dCuUNdLK35X5vBkTmQPsvu+3iqDfVEjlj2DyeaJiu9fczZf+BFGofk82hCN32CnybEARYg3dACjl5HZ0="


before_install:
# Remove homebrew.
- brew remove --force $(brew list)
- brew cleanup -s
- rm -rf $(brew --cache)
- |
echo ""
echo "Removing homebrew from Travis CI to avoid conflicts."
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew
chmod +x ~/uninstall_homebrew
~/uninstall_homebrew -fq
rm ~/uninstall_homebrew
install:
# Install Miniconda.
- |
echo ""
echo "Installing a fresh version of Miniconda."
MINICONDA_URL="https://repo.continuum.io/miniconda"
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
# Configure conda.
- |
echo ""
echo "Configuring conda."
source /Users/travis/miniconda3/bin/activate root
conda config --remove channels defaults
conda config --add channels defaults
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-forge-build-setup
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BSD 3-clause license
Copyright (c) conda-forge
Copyright (c) 2015-2017, conda-forge
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
66 changes: 11 additions & 55 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ environment:
secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC

matrix:
- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda-x64

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 27
Expand All @@ -34,36 +24,6 @@ environment:
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda-x64

- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3-x64

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3-x64

- TARGET_ARCH: x86
CONDA_NPY: 110
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35

- TARGET_ARCH: x64
CONDA_NPY: 110
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 35
Expand All @@ -77,12 +37,12 @@ environment:
- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda
CONDA_INSTALL_LOCN: C:\\Miniconda35

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64


# We always use a 64-bit machine, but can build x86 distributions
Expand All @@ -104,23 +64,19 @@ install:
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- cmd: rmdir C:\cygwin /s /q

# Add path, activate `conda` and update conda.
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda update --yes --quiet conda

- cmd: set PYTHONUNBUFFERED=1

# Add our channels.
- cmd: set "OLDPATH=%PATH%"
- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
- cmd: conda config --set show_channel_urls true
- cmd: conda config --remove channels defaults
- cmd: conda config --add channels defaults
- cmd: conda config --add channels conda-forge

# Add a hack to switch to `conda` version `4.1.12` before activating.
# This is required to handle a long path activation issue.
# Please see PR ( https://github.com/conda/conda/pull/3349 ).
- cmd: conda install --yes --quiet conda=4.1.12
- cmd: set "PATH=%OLDPATH%"
- cmd: set "OLDPATH="

# Actually activate `conda`.
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: set PYTHONUNBUFFERED=1

# Configure the VM.
- cmd: conda install -n root --quiet --yes obvious-ci
- cmd: conda install -n root --quiet --yes conda-forge-build-setup
- cmd: run_conda_forge_build_setup
Expand Down
32 changes: 9 additions & 23 deletions ci_support/run_docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ config=$(cat <<CONDARC
channels:
- conda-forge
- defaults # As we need conda-build
- defaults
conda-build:
root-dir: /feedstock_root/build_artefacts
Expand All @@ -25,8 +25,8 @@ CONDARC
)

cat << EOF | docker run -i \
-v ${RECIPE_ROOT}:/recipe_root \
-v ${FEEDSTOCK_ROOT}:/feedstock_root \
-v "${RECIPE_ROOT}":/recipe_root \
-v "${FEEDSTOCK_ROOT}":/feedstock_root \
-a stdin -a stdout -a stderr \
condaforge/linux-anvil \
bash || exit $?
Expand All @@ -41,14 +41,7 @@ conda clean --lock
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
# Embarking on 8 case(s).
set -x
export CONDA_NPY=110
export CONDA_PY=27
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
# Embarking on 6 case(s).
set -x
export CONDA_NPY=111
export CONDA_PY=27
Expand All @@ -57,42 +50,35 @@ source run_conda_forge_build_setup
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=110
export CONDA_PY=34
export CONDA_NPY=112
export CONDA_PY=27
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=111
export CONDA_PY=34
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=110
export CONDA_PY=35
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=111
export CONDA_NPY=112
export CONDA_PY=35
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=110
export CONDA_NPY=111
export CONDA_PY=36
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_NPY=111
export CONDA_NPY=112
export CONDA_PY=36
set +x
conda build /recipe_root --quiet || exit 1
Expand Down

0 comments on commit d0d41e3

Please sign in to comment.