Skip to content

Commit

Permalink
Add AppYevor tests for Python2 and Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed Oct 7, 2017
1 parent 348dc3d commit 4bc7d11
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
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

- PYTHON: "C:\\Miniconda35-x64"
PYTHON_VERSION: 3.5

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 sos sos-notebook

# install Python 2 kernel
- conda create -n ipykernel_py2 python=2 ipykernel
- activate ipykernel_py2
- python -m ipykernel install --user
- deactivate

# install sos-r
- pip install pytest
- python setup.py install

test_script:
- cd test
- pytest -x -v

notifications:
- provider: Email
to:
- [email protected]
on_build_status_changed: true


0 comments on commit 4bc7d11

Please sign in to comment.