Skip to content
Prev Previous commit
Next Next commit
Try windows
  • Loading branch information
TomAugspurger committed Sep 19, 2018
commit 4d59634c111b28c60bd03e38c09327a708acfe71
31 changes: 31 additions & 0 deletions ci/azure-27.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: pandas
channels:
- defaults
- conda-forge
dependencies:
- beautifulsoup4
- bottleneck
- dateutil
- gcsfs
- html5lib
- jinja2=2.8
- lxml
- matplotlib
- numexpr
- numpy=1.12*
- openpyxl=2.5.5
- pytables
- python=2.7.*
- pytz
- s3fs
- scipy
- sqlalchemy
- xlrd
- xlsxwriter
- xlwt
# universal
- cython>=0.28.2
- pytest
- pytest-xdist
- moto
- hypothesis>=3.58.0
28 changes: 28 additions & 0 deletions ci/azure-36.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: pandas
channels:
- defaults
- conda-forge
dependencies:
- blosc
- bottleneck
- fastparquet
- feather-format
- matplotlib
- numexpr
- numpy=1.14*
- openpyxl=2.5.5
- pyarrow
- pytables
- python-dateutil
- python=3.6.*
- pytz
- scipy
- thrift=0.10*
- xlrd
- xlsxwriter
- xlwt
# universal
- cython>=0.28.2
- pytest
- pytest-xdist
- hypothesis>=3.58.0
32 changes: 32 additions & 0 deletions ci/azure/windows-py27.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
parameters:
name: ''
vmImage: ''

jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
maxParallel: 11
matrix:
py36_np14:
ENV_FILE: ci/azure-27.yml
CONDA_PY: "27"
CONDA_ENV: pandas

steps:
- task: CondaEnvironment@1
inputs:
updateConda: no
packageSpecs: ''

- script: |
ci\\incremental\\setup_conda_environment.cmd
displayName: 'Before Install'
- script: |
ci\\incremental\\build.cmd
displayName: 'Build'
- script: |
call activate %CONDA_ENV%
pytest --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
displayName: 'Test'
32 changes: 32 additions & 0 deletions ci/azure/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
parameters:
name: ''
vmImage: ''

jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
maxParallel: 11
matrix:
py36_np14:
ENV_FILE: ci/azure-36.yml
CONDA_PY: "36"
CONDA_ENV: pandas

steps:
- task: CondaEnvironment@1
inputs:
updateConda: no
packageSpecs: ''

- script: |
ci\\incremental\\setup_conda_environment.cmd
displayName: 'Before Install'
- script: |
ci\\incremental\\build.cmd
displayName: 'Build'
- script: |
call activate %CONDA_ENV%
pytest --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
displayName: 'Test'
10 changes: 10 additions & 0 deletions ci/incremental/build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@rem https://github.com/numba/numba/blob/master/buildscripts/incremental/build.cmd
call activate %CONDA_ENV%

@rem Build numba extensions without silencing compile errors
python setup.py build_ext -q --inplace

@rem Install pandas locally
python -m pip install -e .

if %errorlevel% neq 0 exit /b %errorlevel%
21 changes: 21 additions & 0 deletions ci/incremental/setup_conda_environment.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@rem https://github.com/numba/numba/blob/master/buildscripts/incremental/setup_conda_environment.cmd
@rem The cmd /C hack circumvents a regression where conda installs a conda.bat
@rem script in non-root environments.
set CONDA_INSTALL=cmd /C conda install -q -y
set PIP_INSTALL=pip install -q

@echo on

@rem Deactivate any environment
call deactivate
@rem Display root environment (for debugging)
conda list
@rem Clean up any left-over from a previous build
conda remove --all -q -y -n %CONDA_ENV%
@rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite
conda env create -n %CONDA_ENV% --file=ci\azure-%CONDA_PY%.yaml

call activate %CONDA_ENV%
conda list

if %errorlevel% neq 0 exit /b %errorlevel%