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 9
9
10
10
matrix :
11
11
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
14
20
15
21
env :
16
22
global :
Original file line number Diff line number Diff line change 1
1
environment :
2
2
TARGET : x86_64-pc-windows-msvc
3
3
matrix :
4
+ - PYTHON : " C:/Python27-x64"
5
+ FEATURES : python2
4
6
- PYTHON : " C:/Python35-x64"
7
+ FEATURES : python3
5
8
- PYTHON : " C:/Python36-x64"
9
+ FEATURES : python3
6
10
7
11
install :
8
12
- " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
@@ -17,10 +21,9 @@ install:
17
21
- pip install setuptools-rust pytest pytest-benchmark tox numpy
18
22
19
23
build_script :
20
- - cargo build --verbose
24
+ - cargo build --verbose --features %FEATURES%
21
25
22
26
test_script :
23
- - cargo build --verbose --all
24
- - cargo test --verbose --all
27
+ - cargo test --verbose --features %FEATURES%
25
28
- rustdoc --test README.md -L native="%PYTHON%\\libs" -L target/debug/deps/
26
29
- cd examples/simple-extension && python setup.py install && python setup.py test
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- cargo build --verbose --all
6
- cargo test --verbose --all
5
+ cargo build --verbose --features $FEATURES
6
+ cargo test --verbose --features $FEATURES
7
7
rustdoc -L target/debug/deps/ --test README.md
8
8
9
9
for example in examples/* ; do
You can’t perform that action at this time.
0 commit comments