Skip to content

Commit

Permalink
Add sdl2 as travis dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
DarinM223 committed Jul 8, 2016
1 parent e3d57a1 commit 4bd4339
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
language: rust
rust:
- nightly
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
install:
# SDL2, SDL2_image, and SDL2_ttf
- curl -O http://www.libsdl.org/release/SDL2-2.0.0.tar.gz
- curl -O https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.1.tar.gz
- curl -O https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
- tar -xzvf SDL2-2.0.0.tar.gz
- tar -xzvf SDL2_image-2.0.1.tar.gz
- tar -xzvf SDL2_ttf-2.0.14.tar.gz
- (cd SDL2-2.0.0 && ./configure && make && sudo make install)
- (cd SDL2_image-2.0.1 && ./configure && make && sudo make install)
- (cd SDL2_ttf-2.0.14 && ./configure && make && sudo make install)

0 comments on commit 4bd4339

Please sign in to comment.