Skip to content

Commit

Permalink
Merge pull request #32 from ocefpaf/bump
Browse files Browse the repository at this point in the history
Bump
  • Loading branch information
ocefpaf committed Jan 28, 2017
2 parents 4f9fbd3 + 5c08cfc commit 48b0915
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 87 deletions.
20 changes: 5 additions & 15 deletions .travis.yml
Expand Up @@ -4,26 +4,25 @@
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=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: "lzrqDJmz3bwkIyjJT4mBpTo4uRH+XPb5tr4QrgCqTI0VvsKB6ip9l/DbUG/u3RtA23EJnZNEbftIVptmxhgRBL84jhZ9PVFjh/IKVkLN3nXxHvyVqzLZ2hWHL5TL1fExZLot3mu9cehGWfNmg6JXLWhENis/ckmvjDt7EI9YHpdEpaj/u6GgPE7qzlnzWYozyTD2TcXSjVpMH5rJ5h8aorU8smEoX3acTI0p9BxcvXqQp2HSfmR8NS4KTWb2TfnBsv5jxl913CNMHLORnOYXy0Xd/PC9MEcvtLbYy8BCx1cfg1VnzwXpy2RrCXJ0K6g3xuZuPCTGe8jPxHeOiYnCBATWj+ZFLeofvcYPmjUyxzrJr99SaOKZ4m8UWROZngqQZfGGBKvs/2jpu95/cDlx4EuInwqEQXOnSi3TwBPagZM95Z2F8XNVNAUs/RY57g6cUrFoTeMkE3wSNauqoPUzSfapp5kenPfwm8w9yieVzqWTgdIMrnwsDM2oGoH9AhYFStw+ypj4G2rJpU78QdRMy+xTEI15tOi0ki11FKnjgZVLsbLROq6c92qHSutG9b0u2pZDFPD0AqdhaqsCygxKdcHnuKcc8uyPIEiHl5Nj09GaGVaW37gK/cC9lGZp7PTjSyLWXBI9O8e/8F5BZb/DuKxjqeDFQ5ZJM1gZlac8ErY="


before_install:
# Remove homebrew.
- brew remove --force $(brew list)
- brew remove --force --ignore-dependencies $(brew list)
- brew cleanup -s
- rm -rf $(brew --cache)

Expand All @@ -40,18 +39,9 @@ install:
conda config --add channels conda-forge
conda config --set show_channel_urls true
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
# Install conda-build 2.x.
conda install --yes --quiet conda-build=2
conda info
script:
- conda build ./recipe

- upload_or_check_non_existence ./recipe conda-forge --channel=main


# Inspect the prefix lengths of the built packages.
- conda inspect prefix-lengths /Users/travis/miniconda3/conda-bld/osx-64/*.tar.bz2
51 changes: 4 additions & 47 deletions appveyor.yml
Expand Up @@ -14,55 +14,15 @@ environment:
secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC

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

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

- TARGET_ARCH: x86
CONDA_NPY: 111
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda35
CONDA_INSTALL_LOCN: C:\\Miniconda

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 27
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64

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

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

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

- TARGET_ARCH: x64
CONDA_NPY: 111
CONDA_PY: 34
CONDA_INSTALL_LOCN: C:\\Miniconda35-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
CONDA_INSTALL_LOCN: C:\\Miniconda-x64

- TARGET_ARCH: x86
CONDA_NPY: 111
Expand Down Expand Up @@ -104,9 +64,10 @@ install:
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- cmd: rmdir C:\cygwin /s /q

- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
# 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.
Expand All @@ -120,10 +81,6 @@ install:
- cmd: conda install -n root --quiet --yes conda-forge-build-setup
- cmd: run_conda_forge_build_setup

# Install conda-build 2.x.
- cmd: conda install --yes --quiet conda-build=2
- cmd: conda info

# Skip .NET project specific build phase.
build: off

Expand Down
27 changes: 7 additions & 20 deletions ci_support/run_docker_build.sh
Expand Up @@ -41,18 +41,7 @@ conda clean --lock
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
# Install conda-build 2.x.
conda install --yes --quiet conda-build=2
conda info
# Embarking on 7 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 @@ -61,39 +50,37 @@ conda info
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
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=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=111
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
set -x
export CONDA_NPY=111
export CONDA_NPY=112
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
# Inspect the prefix lengths of the built packages.
conda inspect prefix-lengths /feedstock_root/build_artefacts/linux-64/*.tar.bz2
EOF
14 changes: 9 additions & 5 deletions recipe/meta.yaml
@@ -1,16 +1,16 @@
{% set version = "1.7.1" %}
{% set version = "1.7.2" %}

package:
name: fiona
version: {{ version }}

source:
fn: fiona-{{ version }}.tar.gz
url: https://github.com/Toblerity/Fiona/archive/{{ version }}.post1.tar.gz
sha256: bbd827bca8c60ca9d18303f9b32fc7c3a9d918c052b19af788b9d88284549c5d
url: https://github.com/Toblerity/Fiona/archive/{{ version }}.tar.gz
sha256: e1b353294afad04f11f28ecda3735ecbf33537106d9d5603e3f50bba4953d7c4

build:
number: 1
number: 0
preserve_egg_dir: True
entry_points:
- fio=fiona.fio.main:main_group
Expand All @@ -33,6 +33,8 @@ requirements:
- six

test:
source_files:
- tests
imports:
- fiona
- fiona.fio
Expand All @@ -45,7 +47,9 @@ test:
- test_data/test.shp
- test_data/test.shx
commands:
- cp -r $SRC_DIR/tests /tmp && cd /tmp && nosetests --exclude test_filter_vsi --exclude test_geopackage --exclude test_write_mismatch tests # [linux]
# FIXME: missing coutwildrnp.zip from the tarball.
# We can add it here later.
#- cd tests && nosetests --exclude test_filter_vsi --exclude test_geopackage --exclude test_write_mismatch tests # [linux]
- fio --help
- conda inspect linkages -p $PREFIX fiona # [not win]
- conda inspect objects -p $PREFIX fiona # [osx]
Expand Down

0 comments on commit 48b0915

Please sign in to comment.