GSL 1.1.0

A rust binding for the GSL (the GNU scientific library)
Documentation
language: rust
matrix:
  include:
    - os: linux
      rust: stable
      dist: trusty
    - os: linux
      rust: nightly
      dist: trusty
    - os: osx
      rust: stable
    - os: osx
      rust: nightly
sudo: true
env:
  global:
    - LD_LIBRARY_PATH=/usr/local/lib
addons:
  apt:
    packages:
    - libgsl0-dev
before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi
script:
  - rustc --version
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cargo build --features v2; else cargo build; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cargo build --features v2; else cargo build --features v2; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cargo doc --features v2; else cargo doc; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cargo test --features v2; else cargo test; fi
  - cd examples
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cargo build --features v2; else cargo build; fi