Skip to content

Commit

Permalink
Run tests in python 3.6 by default
Browse files Browse the repository at this point in the history
This allows us to do a proper `bones-check` with `black`.
The hardware tests are still in 3.5.2 to support NxSDK.
  • Loading branch information
hunse authored and tbekolay committed Nov 20, 2019
1 parent f5ae193 commit a97bf76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ docs_conf_py:
- import nengo

travis_yml:
python: 3.5.2
python: 3.6
global_vars:
NENGO_VERSION: nengo[tests]
NENGO_DL_VERSION: nengo-dl
Expand All @@ -458,6 +458,7 @@ travis_yml:
NENGO_VERSION: git+https://github.com/nengo/nengo.git#egg=nengo[tests]
NENGO_DL_VERSION: git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl
- script: hardware
python: 3.5.2 # nxsdk requires 3.5.2
env:
NENGO_VERSION: git+https://github.com/nengo/nengo.git#egg=nengo[tests]
NENGO_DL_VERSION: git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl
Expand All @@ -478,7 +479,7 @@ ci_scripts:
- $NENGO_VERSION
- $NENGO_DL_VERSION
- jupyter
- numpy
- numpy>=1.14 # avoid the default-installed 1.13 on TravisCI
coverage: true
nengo_tests: true
- template: static
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Automatically generated by nengo-bones, do not edit this file directly

language: python
python: 3.5.2
python: 3.6
notifications:
email:
on_success: change
Expand Down Expand Up @@ -43,6 +43,7 @@ jobs:
NENGO_DL_VERSION="git+https://github.com/nengo/nengo-dl.git#egg=nengo-dl"
NXSDK_VERSION="0.8.5"
SCRIPT="hardware"
python: 3.5.2
-
env:
NENGO_VERSION="git+https://github.com/nengo/nengo.git#egg=nengo[tests]"
Expand Down

0 comments on commit a97bf76

Please sign in to comment.