File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed
Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 99
1010matrix :
1111 include :
12- - python : " 3.5"
13- - python : " 3.6"
12+ - python : " 2.7"
13+ env : FEATURES=python2
14+ - python : " 3.5"
15+ env : FEATURES=python3
16+ - python : " 3.6"
17+ env : FEATURES=python3
18+ - python : " 3.7-dev"
19+ env : FEATURES=python3
1420
1521env :
1622 global :
Original file line number Diff line number Diff line change 11environment :
22 TARGET : x86_64-pc-windows-msvc
33 matrix :
4+ - PYTHON : " C:/Python27-x64"
5+ FEATURES : python2
46 - PYTHON : " C:/Python35-x64"
7+ FEATURES : python3
58 - PYTHON : " C:/Python36-x64"
9+ FEATURES : python3
610
711install :
812 - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
@@ -17,10 +21,9 @@ install:
1721 - pip install setuptools-rust pytest pytest-benchmark tox numpy
1822
1923build_script :
20- - cargo build --verbose
24+ - cargo build --verbose --features %FEATURES%
2125
2226test_script :
23- - cargo build --verbose --all
24- - cargo test --verbose --all
27+ - cargo test --verbose --features %FEATURES%
2528 - rustdoc --test README.md -L native="%PYTHON%\\libs" -L target/debug/deps/
2629 - cd examples/simple-extension && python setup.py install && python setup.py test
Original file line number Diff line number Diff line change 22
33set -ex
44
5- cargo build --verbose --all
6- cargo test --verbose --all
5+ cargo build --verbose --features $FEATURES
6+ cargo test --verbose --features $FEATURES
77rustdoc -L target/debug/deps/ --test README.md
88
99for example in examples/* ; do
You can’t perform that action at this time.
0 commit comments