-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.appveyor.yml
65 lines (53 loc) · 1.85 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
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
# packages required by SoS
- pip install jedi pyyaml psutil tqdm
- pip install fasteners pygments ipython ptpython networkx pydot pydotplus nose
- pip install entrypoints numpy pandas selenium
- pip install git+https://github.com/vatlab/sos.git
- pip install git+https://github.com/vatlab/sos-notebook.git
- python -m sos_notebook.install
- pip install markdown-kernel
- python -m markdown_kernel.install
# selenium
#- ps: Start-FileDownload 'https://chromedriver.storage.googleapis.com/74.0.3729.6/chromedriver_win32.zip'
#- 7z e chromedriver_win32.zip -o %PYTHON%\\Scripts
#
# install r kernel
- conda install -c conda-forge feather-format
- conda install -c conda-forge r-irdisplay r-irkernel r-arrow r-dplyr r-markdown r-rmarkdown r-knitr r-yaml r-htmltools r-catools r-base64enc r-stringr r-backports r-rprojroot r-ggplot2 pandoc
# install sos
- pip install pytest
- pip install . -U
test_script:
- cd test
- pytest -v
#on_finish:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
notifications:
- provider: Email
to:
on_build_status_changed: true