imgui-rs/.travis.yml
Malik Olivier Boussejra b18fb57020 [travis] Add build test for examples
The examples are excluded from the workspace, so we need to add the
command to build them.
2018-11-01 08:03:39 +09:00

33 lines
561 B
YAML

sudo: false
dist: trusty
language: rust
rust:
- stable
- beta
- nightly
- 1.26.0
os:
- linux
- osx
- windows
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
matrix:
allow_failures:
- rust: nightly
before_install:
- git submodule update --init --recursive
script:
- cargo build --all --verbose
- cargo test --all --verbose
- cargo build --all --verbose --manifest-path imgui-examples/Cargo.toml
- cargo build --all --verbose --manifest-path imgui-glium-examples/Cargo.toml