Skip to content

Commit da523e0

Browse files
committed
CI: clone depth on appveyor & add recipe
1 parent 1ca094f commit da523e0

File tree

4 files changed

+46
-2
lines changed

4 files changed

+46
-2
lines changed

appveyor.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
matrix:
99
fast_finish: true # immediately finish build once one of the jobs fails.
1010

11+
# set clone depth
12+
clone_depth: 200
13+
1114
environment:
1215
global:
1316
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
@@ -65,14 +68,14 @@ install:
6568

6669
# build em using the local source checkout in the correct windows env
6770
- conda install conda-build
68-
- cmd: '%CMD_IN_ENV% conda build conda.recipe -q --no-test'
71+
- cmd: '%CMD_IN_ENV% conda build ci\appveyor.recipe -q --no-test'
6972

7073
# create our env
7174
- SET REQ=ci\requirements-%PYTHON_VERSION%-%PYTHON_ARCH%.run
7275
- cmd: conda create -q -n pandas python=%PYTHON_VERSION% nose
7376
- cmd: activate pandas
7477
- cmd: conda install -q --file=%REQ%
75-
- ps: conda install -q (conda build conda.recipe -q --output --no-test)
78+
- ps: conda install -q (conda build ci\appveyor.recipe -q --output --no-test)
7679

7780
test_script:
7881
# tests

ci/appveyor.recipe/bld.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
%PYTHON% setup.py install

ci/appveyor.recipe/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
$PYTHON setup.py install

ci/appveyor.recipe/meta.yaml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package:
2+
name: pandas
3+
version: {{ environ.get('GIT_DESCRIBE_TAG','') }}
4+
5+
build:
6+
number: {{ environ.get('GIT_DESCRIBE_NUMBER',0) }}
7+
string: np{{ environ.get('CONDA_NPY') }}py{{ environ.get('CONDA_PY') }}_{{ environ.get('GIT_BUILD_STR','') }}
8+
9+
source:
10+
11+
# conda-build needs a full clone
12+
# rather than a shallow git_url type clone
13+
# https://github.com/conda/conda-build/issues/780
14+
path: ../../
15+
16+
requirements:
17+
build:
18+
- python
19+
- cython
20+
- numpy x.x
21+
- setuptools
22+
- pytz
23+
- python-dateutil
24+
25+
run:
26+
- python
27+
- numpy x.x
28+
- python-dateutil
29+
- pytz
30+
31+
test:
32+
imports:
33+
- pandas
34+
35+
about:
36+
home: http://pandas.pydata.org
37+
license: BSD

0 commit comments

Comments
 (0)