-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 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
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,44 @@ | ||
environment: | ||
MODE: test | ||
PYTHON_VERSION: C:\Miniconda35-x64 | ||
NENGO_DL_TEST_PRECISION: 32 | ||
NENGO_DL_TEST_UNROLL: 1 | ||
NUMPY_VERSION: numpy | ||
TF_VERSION: tensorflow | ||
NENGO_VERSION: nengo | ||
|
||
matrix: | ||
- MODE: test # default build | ||
# - MODE: examples # TODO: some problem with nbval on windows (timeout) | ||
- PYTHON_VERSION: C:\Miniconda36-x64 | ||
- NUMPY_VERSION: numpy==1.11.0 | ||
TF_VERSION: tensorflow==1.2.0 | ||
NENGO_VERSION: nengo==2.3.1 | ||
|
||
init: | ||
- set PATH=%PYTHON_VERSION%;%PYTHON_VERSION%\\Scripts;%PATH% | ||
|
||
install: | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- conda install %NUMPY_VERSION% matplotlib | ||
- pip install %TF_VERSION% | ||
- pip install %NENGO_VERSION% | ||
- pip install -r requirements-test.txt | ||
- if %MODE% == examples ( | ||
conda install pandoc jupyter & | ||
pip install -r requirements-docs.txt | ||
) | ||
- pip install -e . | ||
- conda list -e | ||
- pip freeze | ||
|
||
build: false # Not a C# project | ||
|
||
test_script: | ||
- if %MODE% == examples ( | ||
py.test -v --durations 20 --nbval-lax docs/examples | ||
) else ( | ||
py.test -n 2 --pyargs nengo && py.test -n 2 --durations 20 nengo_dl | ||
) |