From 6e029d10b7d1046d8e9c936edee842cd709e48d7 Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Fri, 24 Feb 2017 16:41:02 -0700 Subject: [PATCH] Updated recipe to add tests --- conda_recipe/meta.yaml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/conda_recipe/meta.yaml b/conda_recipe/meta.yaml index 589c8e1..587a591 100644 --- a/conda_recipe/meta.yaml +++ b/conda_recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "1.0b2" %} +{% set version = "1.0b3" %} package: name: wrf-python @@ -7,32 +7,40 @@ package: source: fn: wrf-python-{{ version }}.tar.gz url: https://github.com/NCAR/wrf-python/archive/{{ version }}.tar.gz - sha256: 7038de3e8cf77147cfafaa41e9797521dd1b4bff9130baacd25850ae38a7c3a3 + sha256: 26aab5fc36f1a84cdb09b68cf77d70c7e16a893b50ecd6711d07ddf8f1b6968b build: - number: 1 + number: 0 detect_binary_files_with_prefix: true - skip: True # [win32 or (win and py>=35)] + skip: True # [(win and py>=35)] requirements: build: - setuptools - numpy x.x - wrapt - - m2w64-toolchain # [win] + - mingwpy # [win] - gcc # [unix] - python run: - numpy x.x - python - wrapt - - m2w64-toolchain # [win] + - mingwpy # [win] - libgfortran # [unix] - libgcc # [unix] test: + requires: + - netcdf4 + - xarray + source_files: + - test/ci_tests imports: - - wrf + - wrf + - netCDF4 + commands: + - cd test/ci_tests && python utests.py about: home: https://github.com/NCAR/wrf-python