This repository was archived by the owner on Nov 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathappveyor.yml
More file actions
56 lines (42 loc) · 1.4 KB
/
appveyor.yml
File metadata and controls
56 lines (42 loc) · 1.4 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
49
50
51
52
53
54
55
56
# Appveyor, continuous integration for Windows
# Most of the config comes from:
# * https://gitlab.com/betse/betse/raw/master/appveyor.yml
version: '{branch}-{build}'
shallow_clone: true
cache:
- '%LOCALAPPDATA%\pip\Cache'
branches:
only:
- master
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
environment:
matrix:
- JOB: "2.7 32-bit"
TOXENV: "py27"
PYTHON: "C:\\Python27.11"
PYTHON_ARCH: "32"
MINICONDA_DIRNAME: "C:\\Miniconda"
- JOB: "3.6 64-bit"
TOXENV: "py36"
PYTHON: "C:\\Python36-x64"
PYTHON_ARCH: "64"
MINICONDA_DIRNAME: "C:\\Miniconda36-x64"
init:
- "ECHO %TOXENV% %PYTHON_VERSION% %MINICONDA_DIRNAME%"
install:
# Make sure that python and python-related scripts are run from miniconda-specific
# python installation
- cmd: set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
- cmd: conda config --set always_yes true
- cmd: conda info --all
# Create and configure an empty Anaconda environment specific to this Python version.
- cmd: conda create --quiet --name conda-env-%PYTHON_VERSION% python=%PYTHON_VERSION%
- cmd: activate conda-env-%PYTHON_VERSION%
- cmd: conda config --add channels anaconda
- cmd: conda install --quiet --file requirements-conda.txt
- cmd: python setup.py develop
# Tell AppVeyor this is not .NET project
build: off
test_script:
- py.test -vvv test