Skip to content

Commit d08503d

Browse files
author
Travis-CI on github.com/conda-forge/staged-recipes
committed
Re-render the feedstock after CI registration.
1 parent 2df9413 commit d08503d

22 files changed

+572
-1
lines changed

.appveyor.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This file was automatically generated by conda-smithy. To update a component of this
2+
# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run
3+
# "conda smithy rerender".
4+
5+
environment:
6+
7+
BINSTAR_TOKEN:
8+
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
9+
secure: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1
10+
11+
matrix:
12+
- CONFIG: win_python2.7
13+
CONDA_INSTALL_LOCN: C:\Miniconda36-x64
14+
15+
- CONFIG: win_python3.6
16+
CONDA_INSTALL_LOCN: C:\Miniconda36-x64
17+
18+
19+
# We always use a 64-bit machine, but can build x86 distributions
20+
# with the TARGET_ARCH variable.
21+
platform:
22+
- x64
23+
24+
install:
25+
# If there is a newer build queued for the same PR, cancel this one.
26+
- cmd: |
27+
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py', 'ff_ci_pr_build.py')"
28+
ff_ci_pr_build -v --ci "appveyor" "%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%" "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_PULL_REQUEST_NUMBER%"
29+
del ff_ci_pr_build.py
30+
31+
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
32+
- cmd: rmdir C:\cygwin /s /q
33+
34+
# Add path, activate `conda` and update conda.
35+
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
36+
- cmd: conda.exe update --yes --quiet conda
37+
38+
- cmd: set PYTHONUNBUFFERED=1
39+
40+
# Add our channels.
41+
- cmd: conda.exe config --set show_channel_urls true
42+
- cmd: conda.exe config --remove channels defaults
43+
- cmd: conda.exe config --add channels defaults
44+
- cmd: conda.exe config --add channels conda-forge
45+
46+
# Configure the VM.
47+
- cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=2
48+
- cmd: run_conda_forge_build_setup
49+
50+
# Skip .NET project specific build phase.
51+
build: off
52+
53+
test_script:
54+
- conda.exe build recipe -m .ci_support\%CONFIG%.yaml --quiet
55+
deploy_script:
56+
- cmd: upload_package .\ .\recipe .ci_support\%CONFIG%.yaml

.ci_support/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly.

.ci_support/linux_python2.7.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build_number_decrement:
2+
- '0'
3+
channel_sources:
4+
- conda-forge,defaults
5+
channel_targets:
6+
- conda-forge main
7+
docker_image:
8+
- condaforge/linux-anvil
9+
pin_run_as_build:
10+
python:
11+
min_pin: x.x
12+
max_pin: x.x
13+
python:
14+
- '2.7'

.ci_support/linux_python3.6.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
build_number_decrement:
2+
- '0'
3+
channel_sources:
4+
- conda-forge,defaults
5+
channel_targets:
6+
- conda-forge main
7+
docker_image:
8+
- condaforge/linux-anvil
9+
pin_run_as_build:
10+
python:
11+
min_pin: x.x
12+
max_pin: x.x
13+
python:
14+
- '3.6'

.ci_support/osx_python2.7.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
MACOSX_DEPLOYMENT_TARGET:
2+
- '10.9'
3+
build_number_decrement:
4+
- '0'
5+
channel_sources:
6+
- conda-forge,defaults
7+
channel_targets:
8+
- conda-forge main
9+
docker_image:
10+
- condaforge/linux-anvil
11+
macos_machine:
12+
- x86_64-apple-darwin13.4.0
13+
macos_min_version:
14+
- '10.9'
15+
pin_run_as_build:
16+
python:
17+
min_pin: x.x
18+
max_pin: x.x
19+
python:
20+
- '2.7'

.ci_support/osx_python3.6.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
MACOSX_DEPLOYMENT_TARGET:
2+
- '10.9'
3+
build_number_decrement:
4+
- '0'
5+
channel_sources:
6+
- conda-forge,defaults
7+
channel_targets:
8+
- conda-forge main
9+
docker_image:
10+
- condaforge/linux-anvil
11+
macos_machine:
12+
- x86_64-apple-darwin13.4.0
13+
macos_min_version:
14+
- '10.9'
15+
pin_run_as_build:
16+
python:
17+
min_pin: x.x
18+
max_pin: x.x
19+
python:
20+
- '3.6'

.ci_support/win_python2.7.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
channel_sources:
2+
- conda-forge,defaults
3+
channel_targets:
4+
- conda-forge main
5+
pin_run_as_build:
6+
python:
7+
min_pin: x.x
8+
max_pin: x.x
9+
python:
10+
- '2.7'

.ci_support/win_python3.6.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
channel_sources:
2+
- conda-forge,defaults
3+
channel_targets:
4+
- conda-forge main
5+
pin_run_as_build:
6+
python:
7+
min_pin: x.x
8+
max_pin: x.x
9+
python:
10+
- '3.6'

.circleci/build_steps.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/env bash
2+
3+
# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here
4+
# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent
5+
# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also
6+
# benefit from the improvement.
7+
8+
set -xeuo pipefail
9+
export PYTHONUNBUFFERED=1
10+
export FEEDSTOCK_ROOT=/home/conda/feedstock_root
11+
export RECIPE_ROOT=/home/conda/recipe_root
12+
export CI_SUPPORT=/home/conda/feedstock_root/.ci_support
13+
export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml"
14+
15+
cat >~/.condarc <<CONDARC
16+
17+
conda-build:
18+
root-dir: /home/conda/feedstock_root/build_artifacts
19+
20+
CONDARC
21+
22+
conda install --yes --quiet conda-forge::conda-forge-ci-setup=2 conda-build
23+
24+
# set up the condarc
25+
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
26+
27+
# A lock sometimes occurs with incomplete builds. The lock file is stored in build_artifacts.
28+
conda clean --lock
29+
30+
source run_conda_forge_build_setup
31+
32+
# make the build number clobber
33+
make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
34+
35+
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
36+
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" --quiet
37+
38+
upload_package "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
39+
40+
touch "/home/conda/feedstock_root/build_artifacts/conda-forge-build-done-${CONFIG}"

.circleci/checkout_merge_commit.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
3+
4+
# Update PR refs for testing.
5+
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
6+
then
7+
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/head:pr/${CIRCLE_PR_NUMBER}/head"
8+
FETCH_REFS="${FETCH_REFS} +refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge"
9+
fi
10+
11+
# Retrieve the refs.
12+
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
13+
then
14+
git fetch -u origin ${FETCH_REFS}
15+
fi
16+
17+
# Checkout the PR merge ref.
18+
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
19+
then
20+
git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge"
21+
fi
22+
23+
# Check for merge conflicts.
24+
if [[ -n "${CIRCLE_PR_NUMBER}" ]]
25+
then
26+
git branch --merged | grep "pr/${CIRCLE_PR_NUMBER}/head" > /dev/null
27+
fi

0 commit comments

Comments
 (0)