language: rust
rust:
- nightly
- beta
- stable
env:
- GTK=3.4
- GTK=latest
addons:
apt:
packages:
- libgtk-3-dev
script:
- rustc --version
- mkdir .cargo
- echo 'paths = ["."]' > .cargo/config
- git clone -q --depth 50 -b crate https://github.com/rust-gnome/examples _examples
- cd _examples
- ./git_deps.sh cairo gdk gtk pango sys
- ./build.sh