From 5716c9cc99909a891dcc58fca10ca2208aefe956 Mon Sep 17 00:00:00 2001 From: Nikita Pekin Date: Wed, 27 Aug 2014 19:31:20 -0400 Subject: [PATCH] Update Travis CI --- .travis.yml | 23 ++++++++++++++++------- README.md | 2 +- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e357a5c6..4e30c209 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,21 @@ os: - osx env: global: - - LD_LIBRARY_PATH: /usr/local/lib + - secure: jS3X2wCwnJgAUnCP7MmeSFR/o7kX9MZxcLQcfWwFIFHe83qGys4Xa+csLz7y/5e7n64UYJtn8ZwIgLfCZawalOPQN3SaFrtv1AAnU47YOQhvk++9A8mmg6R/lMuObSqqQteIvL0lkaGmOWBtB81QPg3vsYWgFhdjqGE1seWUsxE= install: - - 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 - + - 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 - +before_script: + - rustc -v + - cargo -V script: - - cargo build -v + - cargo build -v + - cargo test -v + - cargo doc -v +after_success: + - cp -R target/doc doc + - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh + - rm -r doc diff --git a/README.md b/README.md index 2c7a11c8..41d6711d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Rust-SDL2 [![Build Status](https://travis-ci.org/AngryLawyer/rust-sdl2.png)](https://travis-ci.org/AngryLawyer/rust-sdl2) +# Rust-SDL2 [![Build Status](https://travis-ci.org/AngryLawyer/rust-sdl2.png?branch=master)](https://travis-ci.org/AngryLawyer/rust-sdl2) Bindings for SDL2 in Rust