-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AppYevor tests for Python2 and Python3
- Loading branch information
Bo Peng
committed
Oct 7, 2017
1 parent
348dc3d
commit 4bc7d11
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|