File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -5,20 +5,19 @@ python:
5
5
- " 3.4"
6
6
- " 3.5"
7
7
- " 3.6"
8
+ - " 3.7"
8
9
env :
9
10
- RUST_VERSION=1.25.0
10
11
- RUST_VERSION=nightly
11
12
sudo : false
12
13
install :
13
14
- 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"
15
+ - curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain "$RUST_VERSION"
16
+ - export PATH="$HOME/.cargo/bin:$PATH"
18
17
- export PYTHON_LIB=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
19
18
- find $PYTHON_LIB
20
19
- export LIBRARY_PATH="$LIBRARY_PATH:$PYTHON_LIB"
21
- - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB:$HOME/rust/lib "
20
+ - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PYTHON_LIB"
22
21
- rustc -V
23
22
script :
24
23
- make test extensions
You can’t perform that action at this time.
0 commit comments