Skip to content

Commit be6762c

Browse files
committed
Maintenance
1 parent f17241b commit be6762c

File tree

7 files changed

+833
-25
lines changed

7 files changed

+833
-25
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ build
88
target
99
.pytest_cache
1010
*.egg-info
11-
Cargo.lock
12-
pyo3
11+
pyo3

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
language: python
22

3-
cache:
4-
directories:
5-
- ~/.rustup
3+
dist: xenial
64

75
matrix:
86
fast_finish: true
97
include:
108
- python: "2.7"
119
- python: "3.5"
1210
- python: "3.6"
13-
- python: "3.7-dev"
11+
- python: "3.7"
12+
- python: "3.8-dev"
1413
allow_failures:
15-
- python: "3.7-dev"
14+
- python: "3.8-dev"
1615

1716
install:
1817
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
1918
- source $HOME/.cargo/env
2019
- export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
21-
- export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
2220
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib"
2321
- pip install -e .
2422

build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export PATH="$HOME/rust/bin:$PATH"
88
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/rust/lib"
99

1010
# Compile wheels
11-
for PYBIN in /opt/python/cp{27,35,36}*/bin; do
11+
for PYBIN in /opt/python/cp{27,35,36,37}*/bin; do
1212
export PYTHON_SYS_EXECUTABLE="$PYBIN/python"
1313
export PYTHON_LIB=$(${PYBIN}/python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
1414
export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
@@ -23,6 +23,6 @@ for whl in /io/dist/*.whl; do
2323
done
2424

2525
# Install packages and test
26-
for PYBIN in /opt/python/cp{27,35,36}*/bin/; do
26+
for PYBIN in /opt/python/cp{27,35,36,37}*/bin/; do
2727
"${PYBIN}/pip" install hello-rust --no-index -f /io/dist/
2828
done

0 commit comments

Comments
 (0)