File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,25 @@ python:
8
8
env :
9
9
- RUST_VERSION=1.25.0
10
10
- RUST_VERSION=nightly
11
+ matrix :
12
+ include :
13
+ - python : " 3.7"
14
+ dist : xenial
15
+ sudo : true
16
+ env : RUST_VERSION=1.25.0
17
+ - python : " 3.7"
18
+ dist : xenial
19
+ sudo : true
20
+ env : RUST_VERSION=nightly
11
21
sudo : false
12
22
install :
13
23
- python -c "import sysconfig; print('\n'.join(map(repr,sorted(sysconfig.get_config_vars().items()))))"
14
- - mkdir ~/rust-installer
15
- - curl -sL https://static.rust-lang.org/rustup.sh -o ~/rust-installer/rustup.sh
16
- - sh ~/rust-installer/rustup.sh --prefix=~/rust --spec=$RUST_VERSION -y --disable-sudo
17
- - export PATH="$HOME/rust/bin:$PATH"
24
+ - curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain "$RUST_VERSION"
25
+ - export PATH="$HOME/.cargo/bin:$PATH"
18
26
- export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
19
27
- find $PYTHON_LIB
20
28
- export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
21
- - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib "
29
+ - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB"
22
30
- rustc -V
23
31
script :
24
32
- make test extensions
You can’t perform that action at this time.
0 commit comments