Skip to content

Commit

Permalink
MNT: Re-rendered with conda-smithy 2.0.1 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Feb 1, 2017
1 parent 79e9144 commit a734d50
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 30 deletions.
24 changes: 19 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,47 @@
language: generic

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

env:
matrix:

- CONDA_PY=27
- CONDA_PY=34
- CONDA_PY=35
- CONDA_PY=36
global:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
- secure: "WxDHFQwTRZNjY3VhlJHmalTWhuF9KsTJGZbFsc3WQaS84LMNeUK35O8E6rW/WtGtm1C9X24wP7e9OGjowwMUqhDlxiAeU6ciahxyYcINsKARMj4sfSHWm/HDKqUAbwnmwGu36S2S/069zaBsBqnonHaq3l+tJZFrUCXgItjaan8MpZqrMfoQXJ48MSpYSLUaCcGbeifV/u9/yqLQvThqC4unT4iqCEo+HHKbImzw4c/F4bSh4mgUhK5URWVGVGY4n9VjdZVriU98EBEaLRXRi5BEwrGcrBA8NhEZCi9uXfHaX0rP2QJio0llgccynr27z+2BXPXxG6DyQ7NKXP7YLICtTKzleYiJoWA40MVoVQ2/w0n2uVqueOyvg+eE63lVS2C/d27jqYebRwashtO18YmjrZjwXUvaTCSDAKZzfLy85MtvW+hNK6YMUzf6mLoG6f1Wl8ilA9ajfFLR+3x1MTrp9dpFqm5x9awtZh8Svt8p8zhIcpVOfosqbuyGsyFOQNxhz4yAcTy7G/TubHPgXt+1Sj6qVxWFcObol89sv2wOA/zCC7zoVx6p31IrWZxWyl9GkbVHO1S4ZQIJwS6SEd0bRiQMuPvx+1JVPxZwH+vluBnKA2qfU5hTeOHvIK6WONIJajgItesOvkoYjgIKdkPcJtY4pfmbSIEs/0dgotA="


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
34 changes: 15 additions & 19 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ environment:
CONDA_INSTALL_LOCN: C:\\Miniconda-x64

- TARGET_ARCH: x86
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35

- TARGET_ARCH: x64
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda3-x64
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64

- TARGET_ARCH: x86
CONDA_PY: 35
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda35

- TARGET_ARCH: x64
CONDA_PY: 35
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64


Expand All @@ -58,23 +58,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
10 changes: 5 additions & 5 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 @@ -49,13 +49,13 @@ source run_conda_forge_build_setup
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
set -x
export CONDA_PY=34
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_PY=35
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
Expand Down

0 comments on commit a734d50

Please sign in to comment.