pyo3/.travis.yml

22 lines
743 B
YAML
Raw Normal View History

2015-06-28 19:46:24 +00:00
language: python
python:
2015-09-13 17:49:09 +00:00
- "3.5"
2017-01-18 20:28:04 +00:00
- "3.6"
2015-04-19 03:21:28 +00:00
env:
2017-05-14 19:55:52 +00:00
# - RUST_VERSION=1.17.0
- RUST_VERSION=nightly
sudo: false
2015-06-28 19:46:24 +00:00
install:
- python -c "import sysconfig; print('\n'.join(map(repr,sorted(sysconfig.get_config_vars().items()))))"
2015-06-28 19:46:24 +00:00
- mkdir ~/rust-installer
- curl -sL https://static.rust-lang.org/rustup.sh -o ~/rust-installer/rustup.sh
- sh ~/rust-installer/rustup.sh --prefix=~/rust --spec=$RUST_VERSION -y --disable-sudo
- export PATH="$HOME/rust/bin:$PATH"
- export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
- find $PYTHON_LIB
2015-06-28 19:46:24 +00:00
- export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib"
- rustc -V
2015-04-19 04:32:59 +00:00
script:
2017-05-13 06:01:54 +00:00
- make test