mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
sudo: false
|
|
dist: trusty
|
|
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
- 1.33.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 test --all --verbose --manifest-path imgui-examples/Cargo.toml
|
|
- cargo build --all --verbose --manifest-path imgui-gfx-examples/Cargo.toml
|
|
- cargo test --all --verbose --manifest-path imgui-gfx-examples/Cargo.toml
|
|
- if [ "${TRAVIS_OS_NAME}" = "windows" ]; then cargo build --all --verbose --no-default-features --features directx --manifest-path imgui-gfx-examples/Cargo.toml; fi
|
|
- if [ "${TRAVIS_OS_NAME}" = "windows" ]; then cargo test --all --verbose --no-default-features --features directx --manifest-path imgui-gfx-examples/Cargo.toml; fi
|