-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
74 lines (54 loc) · 1.84 KB
/
.appveyor.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: 1.0.{build}
# docker support
#image: Visual Studio 2017
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
branches:
only:
- master
skip_tags: true
max_jobs: 100
build: none
clone_folder: c:\projects\sos
clone_depth: 50
shallow_clone: false
environment:
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: 3.6
install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# install Python 2 kernel
- conda create -n ipykernel_py2 python=2 ipykernel
- activate ipykernel_py2
- python -m ipykernel install --user
- conda deactivate
# python 3 env
- conda create -n sos_test python=3.6
- activate sos_test
# packages required by SoS
- pip install pyyaml psutil tqdm nose selenium
- pip install fasteners pygments networkx pydot pydotplus
- pip install entrypoints jupyter coverage codacy-coverage pytest pytest-cov python-coveralls
- conda install pandas numpy
# SoS Notebook
- pip install jedi notebook nbconvert nbformat pyyaml psutil tqdm scipy
- pip install pygments ipython wand graphviz sos sos-notebook
- python -m sos_notebook.install
# install sos-r
- pip install . -U
# we also need to set up path to python2 bin etc
- set PATH=C:\Miniconda36-x64\envs\ipykernel_py2\;C:\Miniconda36-x64\envs\ipykernel_py2\Library\bin;%PATH%
- set PATH=C:\Miniconda36-x64\envs\sos_test\;C:\Miniconda36-x64\envs\sos_test\Library\bin;%PATH%
test_script:
- cd test
- pytest -x -v
notifications:
- provider: Email
to:
on_build_status_changed: true