mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
fix travis-ci
This commit is contained in:
+4
-3
@@ -2,10 +2,10 @@ env:
|
||||
global:
|
||||
- secure: bEpP3zUNn1g3jOhB9s0y8XDbxtAcf8rt2ilwkx6/OjhZm7mcfcvjoiEyG/c6iu4AOhF3CTvhnjZmuuD7d1eUChNwWpNhyWMZ3gj+lNNAugfZfOv7sFFQpEMZ2hbO1djr7/TeuXmQgJqIUHYfCoW2nXObXkESpl2yzOiYhhUdH58=
|
||||
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://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.12.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_ttf/src/sdl2_ttf/lib.rs
|
||||
|
||||
Reference in New Issue
Block a user