File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,28 @@ install:
3737 source venv/bin/activate
3838 pip install cffi virtualenv pytest numpy
3939 fi
40- - cargo install --git https://github.com/PyO3/pyo3-pack.git --tag v0.6.1 pyo3-pack
4140 - rustup default nightly-2019-07-19
4241 - rustup component add rustfmt
4342 - rustup component add clippy
4443
4544script :
4645 - cargo fmt --all -- --check
4746 - cargo clippy -- -D warnings
48- - pyo3-pack develop
47+ - |
48+ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
49+ wget https://github.com/PyO3/maturin/releases/download/v0.7.2/maturin-v0.7.2-x86_64-apple-darwin.tar.gz
50+ tar -xzf maturin-v0.7.2-x86_64-apple-darwin.tar.gz
51+ fi
52+ - |
53+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
54+ wget https://github.com/PyO3/maturin/releases/download/v0.7.2/maturin-v0.7.2-x86_64-unknown-linux-musl.tar.gz
55+ tar -xzf maturin-v0.7.2-x86_64-unknown-linux-musl.tar.gz
56+ fi
57+ - ./maturin develop
4958 - pytest
5059 - |
5160 if [ -n "$TRAVIS_TAG" ]; then
52- pyo3-pack build --release
61+ ./maturin build --release
5362 fi
5463deploy :
5564 provider : releases
You can’t perform that action at this time.
0 commit comments