imgui-rs/.travis.yml
2017-05-24 19:33:21 +03:00

27 lines
620 B
YAML

sudo: false
dist: trusty
language: rust
rust:
- stable
- beta
- nightly
- 1.15.1
os:
- linux
- osx
cache: cargo
matrix:
allow_failures:
- rust: nightly
before_install:
- git submodule update --init --recursive
script:
- [ $TRAVIS_RUST_VERSION != 1.15.1 ] && cargo build --all --verbose
# 1.15 doesn't yet support cargo build --all
- [ $TRAVIS_RUST_VERSION = 1.15.1 ] && cd imgui-sys && cargo build --verbose
- [ $TRAVIS_RUST_VERSION = 1.15.1 ] && cd imgui-glium-renderer && cargo build --verbose
- [ $TRAVIS_RUST_VERSION = 1.15.1 ] && cargo build --verbose
- cargo test --all --verbose