offscreen_gl_context 0.25.1

Creation and manipulation of HW accelerated offscreen rendering contexts in multiple platforms. Originally intended for the Servo project's WebGL implementation.
Documentation
language: rust
rust: nightly
sudo: false

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8
      - libxxf86vm-dev
      - libosmesa6-dev
      - libgles2-mesa-dev
      - gcc-arm-linux-androideabi

before_install:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX=g++-4.8; rustup target add arm-linux-androideabi; fi

os:
  - linux
  - osx

script:
  - cargo build --verbose
  # We cannot test egl nor glx in Travis' linux
  # - cargo test --verbose
  # - cargo test --verbose --features test_egl_in_linux
  - if [ "$TRAVIS_OS_NAME" != "linux" ]; then cargo test --verbose; fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cargo build --verbose --target=arm-linux-androideabi; fi