imgui-rs/.travis.yml
Malik Olivier Boussejra 4ae0392e48 Bump minimum Rust version to 1.28
The previous commit added support for glutin 0.19.0.

glutin 0.19.0 depends on winit 0.18.0, which requires rust 1.28.0 or later.

Here is the full dependency chain:

glutin 0.19.0 > winit 0.18 > smithay-client-toolkit 0.4.2 > andrew 0.1.4 > rusttype 0.7.3 > ordered-float 1.0.1 (on linux)

ordered-float uses [repr(transparent)], which is now stabilised on latest rust,
hence the requirement for rust 1.28.0.
2018-12-01 19:05:49 +09:00

33 lines
561 B
YAML

sudo: false
dist: trusty
language: rust
rust:
- stable
- beta
- nightly
- 1.28.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