Skip to content

Commit 99e80ec

Browse files
committed
Fix CI
1 parent b710d39 commit 99e80ec

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ cache:
99

1010
matrix:
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

1521
env:
1622
global:

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
environment:
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

711
install:
812
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
@@ -17,10 +21,9 @@ install:
1721
- pip install setuptools-rust pytest pytest-benchmark tox numpy
1822

1923
build_script:
20-
- cargo build --verbose
24+
- cargo build --verbose --features %FEATURES%
2125

2226
test_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

ci/travis/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
set -ex
44

5-
cargo build --verbose --all
6-
cargo test --verbose --all
5+
cargo build --verbose --features $FEATURES
6+
cargo test --verbose --features $FEATURES
77
rustdoc -L target/debug/deps/ --test README.md
88

99
for example in examples/*; do

0 commit comments

Comments
 (0)