2015-06-28 19:46:24 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
2015-04-19 03:21:28 +00:00
|
|
|
env:
|
2015-06-28 19:46:24 +00:00
|
|
|
- RUST_VERSION=nightly
|
2015-09-20 20:21:18 +00:00
|
|
|
sudo: false
|
2015-06-28 19:46:24 +00:00
|
|
|
install:
|
2015-09-20 20:21:18 +00:00
|
|
|
- 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'))")
|
2015-09-20 20:21:18 +00:00
|
|
|
- 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:
|
2015-06-28 19:46:24 +00:00
|
|
|
- make test extensions
|
2015-01-11 03:21:05 +00:00
|
|
|
|