Repository navigation
Expand file tree
/
Copy pathappveyor.yml
More file actions
48 lines (43 loc) · 1.45 KB
/
Copy pathappveyor.yml
File metadata and controls
48 lines (43 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
environment:
PYTHON_ARCH: "64"
PYTHON: "C:\\Python34-conda64"
matrix:
- PYTHON_VERSION: "3.5"
XARRAY_VERSION: "0.8"
- PYTHON_VERSION: "3.5"
XARRAY_VERSION: "0.9"
- PYTHON_VERSION: "3.6"
XARRAY_VERSION: "0.8"
- PYTHON_VERSION: "3.6"
XARRAY_VERSION: "0.9"
install:
# Install miniconda Python
- "powershell ./ci/install_python.ps1"
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# make sure we use an 'innocent' default matplotlib environment
- copy /y nul matplotlibrc
- conda config --set always_yes yes --set changeps1 no
# Useful for debugging any issues with conda
- conda info -a
- set ENVKEY=py%PYTHON_VERSION%_xr%XARRAY_VERSION%
- conda env create -f tests/envs/environment_%ENVKEY%.yml
- activate psyplot_%ENVKEY%
- pip install coveralls
# install the test plugin
- cd tests/test_plugin
- python setup.py install
- cd ../../
- python setup.py install
# export the environment for debugging
- conda env export -n psyplot_%ENVKEY%
# print versions of all the important requirements
- psyplot -aV
build: false
test_script:
- python setup.py pytest