diff --git a/.travis.yml b/.travis.yml index 6cba404..49e0a99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,17 +27,18 @@ before_cache: env: global: - - PIPENV_VERBOSITY=-1 - TRAVIS_RUST_VERSION=nightly - RUST_BACKTRACE=1 - secure: NsP9l1lbkaY2jRuxWtCl/k+abdpkZ8faeUu/EMtUQwK3ro110/P4IWaMoZ/KuQkouB6n+RNi9abM7RaOmV30QPE7Gpyn6ePKt8AANqX75J/iLjGaxmyKhvRoRtAOU+HcujRXAKEs9xPu56ZlvGVwlZECaqjQExn1ND07Sd5TvwjlEExvgjAemYeHUG4Hwcw2GCRfOQicVjbZxFHSLCQHUCSO3amKnB2Xwk1oa/CT4xaSuWEZRN1UW0qPWLrfmB3SrIgAIn+VlRQau9VW4D6tFqnREAq0ZZ4zr19OC3PiOm4VTiMJBFTHCKlGQcKAoE7qWyhQME8K3fxcxeNlj1k88RZUz4LLh6rTEaltnx3bB26dRohG3EngGjtITN/BtaH1oewPnSPyXWq08rQt7kt1w6bjWhLwaYGmL7f6H1ZA4lPCik/6Jf5kDGjD2lWIhzoyHYIU7Xk56KSgbqfexafnQHNv2irExW2nXJ8Iqke8iKWa8gm8Qy0lP8ODjWQi6GkW95N9umT7TSeLuiQKs241tMEetuYau64cqomy3KuucUtbjIA4N4R3ljDp4kSfi9T4RtnSMh/QAD6uKqMwcg1YEzIMsq7YkC1JwPaAsyUoDmd5xj54WJTko7MgTBk52V6yt05SNpx6jkXt8ZDnjwzeXn2COwpQE3NHY9/19bRcq7w= install: - pip install --upgrade pip - - pip install -U pipenv + - pip install -U maturin pytest + - maturin list-python - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly - source "$HOME"/.cargo/env - - pipenv install --dev . + - cargo build + - cp target/debug/libtantivy.so tantivy/tantivy.so before_script: - rustc --version @@ -68,7 +69,7 @@ jobs: stage: lint script: - - pipenv run py.test -rws -v tests/ + - python3 -m pytest -v deploy: # Deploy for linux using the manylinux docker image.