Merge pull request #168 from Indiv0/update-travis-ci

Update Travis CI
This commit is contained in:
Tony Aldridge
2014-08-23 20:04:19 +01:00
2 changed files with 9 additions and 8 deletions
+8 -5
View File
@@ -1,13 +1,16 @@
before_install:
- wget 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
language: rust
os:
- linux
- osx
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
install:
- sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
- export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"
- wget http://www.libsdl.org/release/SDL2-2.0.0.tar.gz
- tar -zxvf SDL2-2.0.0.tar.gz
- cd SDL2-2.0.0
- ./configure && make && sudo make install
- cd -
script:
- cargo build -v
- make compile_demo
+1 -3
View File
@@ -1,6 +1,4 @@
# Rust-SDL2
[![Build Status](https://travis-ci.org/AngryLawyer/rust-sdl2.png?branch=master)](https://travis-ci.org/AngryLawyer/rust-sdl2)
# Rust-SDL2 [![Build Status](https://travis-ci.org/AngryLawyer/rust-sdl2.png)](https://travis-ci.org/AngryLawyer/rust-sdl2)
Bindings for SDL2 in Rust