fix travis-ci

This commit is contained in:
Andelf
2014-05-19 23:10:13 +08:00
parent 72f53d91dc
commit 52cce1f7e2
+4 -3
View File
@@ -2,10 +2,10 @@ env:
global:
- secure: pJW/r7h3r45pelA24GP34NjDFURoBriteNg6gXOQY2SVIWbwrXl/lwtgT7o04OUXO049ZsXxmmYyrvGkkIcEPCKh8ishE+nl1FOhrSmMjfNm3DAGtAgX3PP6EZco1QIYk86GbeOiN8oV7rm78Snz7g5VnVuSDXkCJqEFueitvaA=
before_install:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
- wget -q http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- tar xf rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
install:
- sudo apt-get install rust-nightly
- cd ..
- time wget -q http://www.libsdl.org/release/SDL2-2.0.3.tar.gz
- time wget -q http://hivelocity.dl.sourceforge.net/project/sdl2gfx/SDL2_gfx-1.0.0.tar.gz
@@ -18,6 +18,7 @@ install:
- ./configure && make && sudo make install
- cd -
- git clone https://github.com/AngryLawyer/rust-sdl2.git
- (cd rust-sdl2 && make)
- rustc rust-sdl2/src/sdl2/lib.rs
script:
- rustc -L. rust-sdl2_gfx/src/sdl2_gfx/lib.rs