From d31409decc9289dee796adcb0e9f9220b0a8c180 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot Date: Thu, 27 Sep 2018 21:09:56 +0000 Subject: [PATCH 1/6] updated v0.4.1 --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 640f9ad..3c7b6f8 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "0.3.1" %} +{% set version = "0.4.1" %} package: name: testpath @@ -6,10 +6,10 @@ package: source: url: https://pypi.io/packages/source/t/testpath/testpath-{{ version }}.tar.gz - sha256: 0d5337839c788da5900df70f8e01015aec141aa3fe7936cb0d0a2953f7ac7609 + sha256: e4824c689b97e3cfc76b440add3d20a4bb28a671079787a3d07a6bc3ba3d1eca build: - number: 1 + number: 0 script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" requirements: From 8ba6c6f0ebcb187c817083c7f16294cef5113a9d Mon Sep 17 00:00:00 2001 From: Filipe Date: Thu, 27 Sep 2018 19:47:51 -0300 Subject: [PATCH 2/6] Update meta.yaml --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 3c7b6f8..6ee8395 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,12 +10,12 @@ source: build: number: 0 - script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" + script: {{PYTHON}} -m flit install --deps=none requirements: host: - python - - pip + - flit run: - python - pathlib2 # [py2k] From 4b3ad9f51ffe2ed2ac5e6e23e1a88ae220d1a4ee Mon Sep 17 00:00:00 2001 From: Filipe Date: Thu, 27 Sep 2018 21:06:31 -0300 Subject: [PATCH 3/6] Update meta.yaml --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 6ee8395..72bdcb1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,15 +10,15 @@ source: build: number: 0 + noarch: python script: {{PYTHON}} -m flit install --deps=none requirements: host: - - python + - python >=3 - flit run: - - python - - pathlib2 # [py2k] + - python >=3 test: imports: From 60b9713c41bf7a3abcc708f7206b0f213bc9ecae Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Fri, 28 Sep 2018 00:07:46 +0000 Subject: [PATCH 4/6] MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.09.27 --- .appveyor.yml | 62 ----------------- .../{linux_python3.7.yaml => linux_.yaml} | 6 -- .ci_support/linux_python2.7.yaml | 14 ---- .ci_support/linux_python3.5.yaml | 14 ---- .ci_support/linux_python3.6.yaml | 14 ---- .ci_support/osx_python2.7.yaml | 20 ------ .ci_support/osx_python3.5.yaml | 20 ------ .ci_support/osx_python3.6.yaml | 20 ------ .ci_support/osx_python3.7.yaml | 20 ------ .ci_support/win_python2.7.yaml | 10 --- .ci_support/win_python3.5.yaml | 10 --- .ci_support/win_python3.6.yaml | 10 --- .ci_support/win_python3.7.yaml | 10 --- .circleci/config.yml | 60 +---------------- .travis.yml | 66 ------------------- README.md | 5 +- 16 files changed, 5 insertions(+), 356 deletions(-) delete mode 100644 .appveyor.yml rename .ci_support/{linux_python3.7.yaml => linux_.yaml} (65%) delete mode 100644 .ci_support/linux_python2.7.yaml delete mode 100644 .ci_support/linux_python3.5.yaml delete mode 100644 .ci_support/linux_python3.6.yaml delete mode 100644 .ci_support/osx_python2.7.yaml delete mode 100644 .ci_support/osx_python3.5.yaml delete mode 100644 .ci_support/osx_python3.6.yaml delete mode 100644 .ci_support/osx_python3.7.yaml delete mode 100644 .ci_support/win_python2.7.yaml delete mode 100644 .ci_support/win_python3.5.yaml delete mode 100644 .ci_support/win_python3.6.yaml delete mode 100644 .ci_support/win_python3.7.yaml delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 360a89c..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,62 +0,0 @@ -# This file was automatically generated by conda-smithy. To update a component of this -# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run -# "conda smithy rerender". - -environment: - - BINSTAR_TOKEN: - # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. - secure: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1 - - matrix: - - CONFIG: win_python2.7 - CONDA_INSTALL_LOCN: C:\Miniconda36-x64 - - - CONFIG: win_python3.5 - CONDA_INSTALL_LOCN: C:\Miniconda36-x64 - - - CONFIG: win_python3.6 - CONDA_INSTALL_LOCN: C:\Miniconda36-x64 - - - CONFIG: win_python3.7 - CONDA_INSTALL_LOCN: C:\Miniconda36-x64 - - -# We always use a 64-bit machine, but can build x86 distributions -# with the TARGET_ARCH variable. -platform: - - x64 - -install: - # If there is a newer build queued for the same PR, cancel this one. - - cmd: | - 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')" - ff_ci_pr_build -v --ci "appveyor" "%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%" "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_PULL_REQUEST_NUMBER%" - del ff_ci_pr_build.py - - # 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.exe update --yes --quiet conda - - - cmd: set PYTHONUNBUFFERED=1 - - # Add our channels. - - cmd: conda.exe config --set show_channel_urls true - - cmd: conda.exe config --remove channels defaults - - cmd: conda.exe config --add channels defaults - - cmd: conda.exe config --add channels conda-forge - - # Configure the VM. - - cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=2 - - cmd: run_conda_forge_build_setup - -# Skip .NET project specific build phase. -build: off - -test_script: - - conda.exe build recipe -m .ci_support\%CONFIG%.yaml --quiet -deploy_script: - - cmd: upload_package .\ .\recipe .ci_support\%CONFIG%.yaml \ No newline at end of file diff --git a/.ci_support/linux_python3.7.yaml b/.ci_support/linux_.yaml similarity index 65% rename from .ci_support/linux_python3.7.yaml rename to .ci_support/linux_.yaml index 17d29ff..9a22688 100644 --- a/.ci_support/linux_python3.7.yaml +++ b/.ci_support/linux_.yaml @@ -6,9 +6,3 @@ channel_targets: - conda-forge main docker_image: - condaforge/linux-anvil -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.7' diff --git a/.ci_support/linux_python2.7.yaml b/.ci_support/linux_python2.7.yaml deleted file mode 100644 index 2ce6b6c..0000000 --- a/.ci_support/linux_python2.7.yaml +++ /dev/null @@ -1,14 +0,0 @@ -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '2.7' diff --git a/.ci_support/linux_python3.5.yaml b/.ci_support/linux_python3.5.yaml deleted file mode 100644 index 2c030c0..0000000 --- a/.ci_support/linux_python3.5.yaml +++ /dev/null @@ -1,14 +0,0 @@ -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.5' diff --git a/.ci_support/linux_python3.6.yaml b/.ci_support/linux_python3.6.yaml deleted file mode 100644 index 444bf0b..0000000 --- a/.ci_support/linux_python3.6.yaml +++ /dev/null @@ -1,14 +0,0 @@ -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.6' diff --git a/.ci_support/osx_python2.7.yaml b/.ci_support/osx_python2.7.yaml deleted file mode 100644 index c5bb9aa..0000000 --- a/.ci_support/osx_python2.7.yaml +++ /dev/null @@ -1,20 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '2.7' diff --git a/.ci_support/osx_python3.5.yaml b/.ci_support/osx_python3.5.yaml deleted file mode 100644 index dd2dc34..0000000 --- a/.ci_support/osx_python3.5.yaml +++ /dev/null @@ -1,20 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.5' diff --git a/.ci_support/osx_python3.6.yaml b/.ci_support/osx_python3.6.yaml deleted file mode 100644 index 03de62b..0000000 --- a/.ci_support/osx_python3.6.yaml +++ /dev/null @@ -1,20 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.6' diff --git a/.ci_support/osx_python3.7.yaml b/.ci_support/osx_python3.7.yaml deleted file mode 100644 index 6f78589..0000000 --- a/.ci_support/osx_python3.7.yaml +++ /dev/null @@ -1,20 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -build_number_decrement: -- '0' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -docker_image: -- condaforge/linux-anvil -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.7' diff --git a/.ci_support/win_python2.7.yaml b/.ci_support/win_python2.7.yaml deleted file mode 100644 index 6b6a0c7..0000000 --- a/.ci_support/win_python2.7.yaml +++ /dev/null @@ -1,10 +0,0 @@ -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '2.7' diff --git a/.ci_support/win_python3.5.yaml b/.ci_support/win_python3.5.yaml deleted file mode 100644 index d4d19cf..0000000 --- a/.ci_support/win_python3.5.yaml +++ /dev/null @@ -1,10 +0,0 @@ -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.5' diff --git a/.ci_support/win_python3.6.yaml b/.ci_support/win_python3.6.yaml deleted file mode 100644 index 3032431..0000000 --- a/.ci_support/win_python3.6.yaml +++ /dev/null @@ -1,10 +0,0 @@ -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.6' diff --git a/.ci_support/win_python3.7.yaml b/.ci_support/win_python3.7.yaml deleted file mode 100644 index 6eac991..0000000 --- a/.ci_support/win_python3.7.yaml +++ /dev/null @@ -1,10 +0,0 @@ -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -pin_run_as_build: - python: - min_pin: x.x - max_pin: x.x -python: -- '3.7' diff --git a/.circleci/config.yml b/.circleci/config.yml index 0047203..ede1d94 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,62 +1,11 @@ version: 2 jobs: - build_linux_python2.7: + build_linux_: working_directory: ~/test machine: true environment: - - CONFIG: "linux_python2.7" - steps: - - checkout - - run: - name: Fast finish outdated PRs and merge PRs - command: | - ./.circleci/fast_finish_ci_pr_build.sh - ./.circleci/checkout_merge_commit.sh - - run: - command: docker pull condaforge/linux-anvil - - run: - # Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. - command: ./.circleci/run_docker_build.sh - build_linux_python3.5: - working_directory: ~/test - machine: true - environment: - - CONFIG: "linux_python3.5" - steps: - - checkout - - run: - name: Fast finish outdated PRs and merge PRs - command: | - ./.circleci/fast_finish_ci_pr_build.sh - ./.circleci/checkout_merge_commit.sh - - run: - command: docker pull condaforge/linux-anvil - - run: - # Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. - command: ./.circleci/run_docker_build.sh - build_linux_python3.6: - working_directory: ~/test - machine: true - environment: - - CONFIG: "linux_python3.6" - steps: - - checkout - - run: - name: Fast finish outdated PRs and merge PRs - command: | - ./.circleci/fast_finish_ci_pr_build.sh - ./.circleci/checkout_merge_commit.sh - - run: - command: docker pull condaforge/linux-anvil - - run: - # Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. - command: ./.circleci/run_docker_build.sh - build_linux_python3.7: - working_directory: ~/test - machine: true - environment: - - CONFIG: "linux_python3.7" + - CONFIG: "linux_" steps: - checkout - run: @@ -74,7 +23,4 @@ workflows: version: 2 build_and_test: jobs: - - build_linux_python2.7 - - build_linux_python3.5 - - build_linux_python3.6 - - build_linux_python3.7 + - build_linux_ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5a3f36e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,66 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. - -language: generic - -os: osx -osx_image: xcode6.4 - -env: - matrix: - - CONFIG=osx_python2.7 - - CONFIG=osx_python3.5 - - CONFIG=osx_python3.6 - - CONFIG=osx_python3.7 - - global: - # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. - - secure: "Cwvn+Hvzem1trRGD36+4UbLxAYlQr7kTMCdu8g7puuskAS2fa06yFmOw6dzeROGECnD/Rq+5nMFrgOWNcZm/jhOZo1QvOPEB0qkh9u67XxPgPhK3aB5coU+W59bRrqYIK+PovLR74r60VAG09KFAzmvOiu7zw870iM08FuXpx2/w/Bl6bo/6uRlaYtBve1nNW4KsW1Tql4EYEsii5bcyU0rY0iq7ysKNpugPVSH0ajXH1Mrs6KEL1L6aIPsEpYqUjfQ8+RXJOlIKi71GUNG9gphuwnT+zmD3YYhhv4NQeCaZiz8AMRXiSwkyIil3AXxpN77/UcQQYPS5STlH3k2/kxbWMsM4Kt99kPHh4ucqioKQAYVhuHBP23MHGGFVhoorG8qgkynbBxI3UhH0+WpVyQTjxIIZbSGdfnxbZ84d2I2VYRqr60RhiVb3PE8xDEc5BH/XGs5ohX2E/AdQkmuQJBM8hTbrPOrYbda1EiT3SrzlLqx5Y2LNFMYhSHKrIetQ1GOMADOMz9uYydkaebsZjHwyIVmmnGwmAzs7cloH/rnIF0kFC5W33yL95YNqGr6543Y17NjEQMRtyPzla6toUr+lid30bVpR6Ofwnej9NGQ4/S8k5wxd6/WVmHT/J7sH07TusTq8Rcwkgsu3rje8lW2d/b0Pqh+HdH17r7jOXhM=" - - -before_install: - # Fast finish the PR. - - | - (curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \ - python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1 - - # Remove homebrew. - - | - 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 install --yes --quiet conda-forge::conda-forge-ci-setup=2 - setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml - - source run_conda_forge_build_setup - - # compiler cleanup - - | - mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml - -script: - # generate the build number clobber - - make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml - - conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml - - upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml diff --git a/README.md b/README.md index 520249f..286a6ea 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,8 @@ and tools for mocking system commands and recording calls to those. Current build status ==================== -[![Linux](https://img.shields.io/circleci/project/github/conda-forge/testpath-feedstock/master.svg?label=Linux)](https://circleci.com/gh/conda-forge/testpath-feedstock) -[![OSX](https://img.shields.io/travis/conda-forge/testpath-feedstock/master.svg?label=macOS)](https://travis-ci.org/conda-forge/testpath-feedstock) -[![Windows](https://img.shields.io/appveyor/ci/conda-forge/testpath-feedstock/master.svg?label=Windows)](https://ci.appveyor.com/project/conda-forge/testpath-feedstock/branch/master) +All platforms: +[![noarch](https://img.shields.io/circleci/project/github/conda-forge/testpath-feedstock/master.svg?label=noarch)](https://circleci.com/gh/conda-forge/testpath-feedstock) Current release info ==================== From 2d914c391f58b456b56f8d59b3dae75f64298cbb Mon Sep 17 00:00:00 2001 From: Filipe Date: Fri, 28 Sep 2018 09:17:38 -0300 Subject: [PATCH 5/6] Update meta.yaml --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 72bdcb1..3bc7b12 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,15 +10,15 @@ source: build: number: 0 - noarch: python + skip: True # [py2k] script: {{PYTHON}} -m flit install --deps=none requirements: host: - - python >=3 + - python - flit run: - - python >=3 + - python test: imports: From 10a522625cccc583fc8c5e24cc5ee486139176c5 Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Fri, 28 Sep 2018 12:19:06 +0000 Subject: [PATCH 6/6] MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.09.27 --- .appveyor.yml | 56 ++++++++++++++++ .../{linux_.yaml => linux_python3.5.yaml} | 6 ++ .ci_support/linux_python3.6.yaml | 14 ++++ .ci_support/osx_python3.5.yaml | 20 ++++++ .ci_support/osx_python3.6.yaml | 20 ++++++ .ci_support/win_python3.5.yaml | 10 +++ .ci_support/win_python3.6.yaml | 10 +++ .circleci/config.yml | 24 ++++++- .travis.yml | 64 +++++++++++++++++++ README.md | 5 +- 10 files changed, 224 insertions(+), 5 deletions(-) create mode 100644 .appveyor.yml rename .ci_support/{linux_.yaml => linux_python3.5.yaml} (65%) create mode 100644 .ci_support/linux_python3.6.yaml create mode 100644 .ci_support/osx_python3.5.yaml create mode 100644 .ci_support/osx_python3.6.yaml create mode 100644 .ci_support/win_python3.5.yaml create mode 100644 .ci_support/win_python3.6.yaml create mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..0831f02 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,56 @@ +# This file was automatically generated by conda-smithy. To update a component of this +# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run +# "conda smithy rerender". + +environment: + + BINSTAR_TOKEN: + # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. + secure: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1 + + matrix: + - CONFIG: win_python3.5 + CONDA_INSTALL_LOCN: C:\Miniconda36-x64 + + - CONFIG: win_python3.6 + CONDA_INSTALL_LOCN: C:\Miniconda36-x64 + + +# We always use a 64-bit machine, but can build x86 distributions +# with the TARGET_ARCH variable. +platform: + - x64 + +install: + # If there is a newer build queued for the same PR, cancel this one. + - cmd: | + 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')" + ff_ci_pr_build -v --ci "appveyor" "%APPVEYOR_ACCOUNT_NAME%/%APPVEYOR_PROJECT_SLUG%" "%APPVEYOR_BUILD_NUMBER%" "%APPVEYOR_PULL_REQUEST_NUMBER%" + del ff_ci_pr_build.py + + # 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.exe update --yes --quiet conda + + - cmd: set PYTHONUNBUFFERED=1 + + # Add our channels. + - cmd: conda.exe config --set show_channel_urls true + - cmd: conda.exe config --remove channels defaults + - cmd: conda.exe config --add channels defaults + - cmd: conda.exe config --add channels conda-forge + + # Configure the VM. + - cmd: conda.exe install -n root --quiet --yes conda-forge-ci-setup=2 + - cmd: run_conda_forge_build_setup + +# Skip .NET project specific build phase. +build: off + +test_script: + - conda.exe build recipe -m .ci_support\%CONFIG%.yaml --quiet +deploy_script: + - cmd: upload_package .\ .\recipe .ci_support\%CONFIG%.yaml \ No newline at end of file diff --git a/.ci_support/linux_.yaml b/.ci_support/linux_python3.5.yaml similarity index 65% rename from .ci_support/linux_.yaml rename to .ci_support/linux_python3.5.yaml index 9a22688..2c030c0 100644 --- a/.ci_support/linux_.yaml +++ b/.ci_support/linux_python3.5.yaml @@ -6,3 +6,9 @@ channel_targets: - conda-forge main docker_image: - condaforge/linux-anvil +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.5' diff --git a/.ci_support/linux_python3.6.yaml b/.ci_support/linux_python3.6.yaml new file mode 100644 index 0000000..444bf0b --- /dev/null +++ b/.ci_support/linux_python3.6.yaml @@ -0,0 +1,14 @@ +build_number_decrement: +- '0' +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +docker_image: +- condaforge/linux-anvil +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.6' diff --git a/.ci_support/osx_python3.5.yaml b/.ci_support/osx_python3.5.yaml new file mode 100644 index 0000000..dd2dc34 --- /dev/null +++ b/.ci_support/osx_python3.5.yaml @@ -0,0 +1,20 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +build_number_decrement: +- '0' +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +docker_image: +- condaforge/linux-anvil +macos_machine: +- x86_64-apple-darwin13.4.0 +macos_min_version: +- '10.9' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.5' diff --git a/.ci_support/osx_python3.6.yaml b/.ci_support/osx_python3.6.yaml new file mode 100644 index 0000000..03de62b --- /dev/null +++ b/.ci_support/osx_python3.6.yaml @@ -0,0 +1,20 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +build_number_decrement: +- '0' +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +docker_image: +- condaforge/linux-anvil +macos_machine: +- x86_64-apple-darwin13.4.0 +macos_min_version: +- '10.9' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.6' diff --git a/.ci_support/win_python3.5.yaml b/.ci_support/win_python3.5.yaml new file mode 100644 index 0000000..d4d19cf --- /dev/null +++ b/.ci_support/win_python3.5.yaml @@ -0,0 +1,10 @@ +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.5' diff --git a/.ci_support/win_python3.6.yaml b/.ci_support/win_python3.6.yaml new file mode 100644 index 0000000..3032431 --- /dev/null +++ b/.ci_support/win_python3.6.yaml @@ -0,0 +1,10 @@ +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.6' diff --git a/.circleci/config.yml b/.circleci/config.yml index ede1d94..01775ad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,28 @@ version: 2 jobs: - build_linux_: + build_linux_python3.5: working_directory: ~/test machine: true environment: - - CONFIG: "linux_" + - CONFIG: "linux_python3.5" + steps: + - checkout + - run: + name: Fast finish outdated PRs and merge PRs + command: | + ./.circleci/fast_finish_ci_pr_build.sh + ./.circleci/checkout_merge_commit.sh + - run: + command: docker pull condaforge/linux-anvil + - run: + # Run, test and (if we have a BINSTAR_TOKEN) upload the distributions. + command: ./.circleci/run_docker_build.sh + build_linux_python3.6: + working_directory: ~/test + machine: true + environment: + - CONFIG: "linux_python3.6" steps: - checkout - run: @@ -23,4 +40,5 @@ workflows: version: 2 build_and_test: jobs: - - build_linux_ + - build_linux_python3.5 + - build_linux_python3.6 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f8aa5e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,64 @@ +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. + +language: generic + +os: osx +osx_image: xcode6.4 + +env: + matrix: + - CONFIG=osx_python3.5 + - CONFIG=osx_python3.6 + + global: + # The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml. + - secure: "Cwvn+Hvzem1trRGD36+4UbLxAYlQr7kTMCdu8g7puuskAS2fa06yFmOw6dzeROGECnD/Rq+5nMFrgOWNcZm/jhOZo1QvOPEB0qkh9u67XxPgPhK3aB5coU+W59bRrqYIK+PovLR74r60VAG09KFAzmvOiu7zw870iM08FuXpx2/w/Bl6bo/6uRlaYtBve1nNW4KsW1Tql4EYEsii5bcyU0rY0iq7ysKNpugPVSH0ajXH1Mrs6KEL1L6aIPsEpYqUjfQ8+RXJOlIKi71GUNG9gphuwnT+zmD3YYhhv4NQeCaZiz8AMRXiSwkyIil3AXxpN77/UcQQYPS5STlH3k2/kxbWMsM4Kt99kPHh4ucqioKQAYVhuHBP23MHGGFVhoorG8qgkynbBxI3UhH0+WpVyQTjxIIZbSGdfnxbZ84d2I2VYRqr60RhiVb3PE8xDEc5BH/XGs5ohX2E/AdQkmuQJBM8hTbrPOrYbda1EiT3SrzlLqx5Y2LNFMYhSHKrIetQ1GOMADOMz9uYydkaebsZjHwyIVmmnGwmAzs7cloH/rnIF0kFC5W33yL95YNqGr6543Y17NjEQMRtyPzla6toUr+lid30bVpR6Ofwnej9NGQ4/S8k5wxd6/WVmHT/J7sH07TusTq8Rcwkgsu3rje8lW2d/b0Pqh+HdH17r7jOXhM=" + + +before_install: + # Fast finish the PR. + - | + (curl https://raw.githubusercontent.com/conda-forge/conda-forge-ci-setup-feedstock/branch2.0/recipe/conda_forge_ci_setup/ff_ci_pr_build.py | \ + python - -v --ci "travis" "${TRAVIS_REPO_SLUG}" "${TRAVIS_BUILD_NUMBER}" "${TRAVIS_PULL_REQUEST}") || exit 1 + + # Remove homebrew. + - | + 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 install --yes --quiet conda-forge::conda-forge-ci-setup=2 + setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml + + source run_conda_forge_build_setup + + # compiler cleanup + - | + mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml + +script: + # generate the build number clobber + - make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml + - conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + - upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml diff --git a/README.md b/README.md index 286a6ea..520249f 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ and tools for mocking system commands and recording calls to those. Current build status ==================== -All platforms: -[![noarch](https://img.shields.io/circleci/project/github/conda-forge/testpath-feedstock/master.svg?label=noarch)](https://circleci.com/gh/conda-forge/testpath-feedstock) +[![Linux](https://img.shields.io/circleci/project/github/conda-forge/testpath-feedstock/master.svg?label=Linux)](https://circleci.com/gh/conda-forge/testpath-feedstock) +[![OSX](https://img.shields.io/travis/conda-forge/testpath-feedstock/master.svg?label=macOS)](https://travis-ci.org/conda-forge/testpath-feedstock) +[![Windows](https://img.shields.io/appveyor/ci/conda-forge/testpath-feedstock/master.svg?label=Windows)](https://ci.appveyor.com/project/conda-forge/testpath-feedstock/branch/master) Current release info ====================