Skip to content

Commit 14c0a37

Browse files
committed
Update .travis.yml to install cargo correctly
1 parent 698d7b5 commit 14c0a37

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
env:
22
global:
33
- LD_LIBRARY_PATH: /usr/local/lib
4-
before_install:
5-
- yes | sudo add-apt-repository ppa:cmrx64/cargo
6-
- sudo apt-get update
7-
- sudo apt-get install cargo
84
install:
9-
- wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz -O - | sudo tar zxf - --strip-components 1 -C /usr/local
5+
- curl https://static.rust-lang.org/rustup.sh | sudo sh
106
script:
117
- rustc --version
8+
- cargo --version
129
- cargo build
1310
notifications:
1411
email:

0 commit comments

Comments
 (0)