language: rust
rust:
  - nightly
  - beta
  - stable
env:
  - GTK=3.4
  - GTK=3.18
addons:
  apt:
    packages:
    - libgtk-3-dev
script:
  - rustc --version
  - cargo test --features "png embed-lgpl-docs"
  - cargo test --no-default-features
  # catch any sneaked in lgpl docs
  - cargo build --features purge-lgpl-docs
  - git diff -R --exit-code
  - mkdir .cargo
  - echo 'paths = ["."]' > .cargo/config
  - git clone -q --depth 50 -b pending https://github.com/rust-gnome/examples _examples
  - cd _examples
  - ./build.sh

language: rust
rust:
  - nightly
  - beta
  - stable
env:
  - GTK=3.4
  - GTK=3.18
addons:
  apt:
    packages:
    - libgtk-3-dev
script:
  - rustc --version
  - cargo test --features "png embed-lgpl-docs"
  - cargo test --no-default-features --features "png" 
  # catch any sneaked in lgpl docs
  - cargo build --features purge-lgpl-docs
  - git diff -R --exit-code
  - mkdir .cargo
  - echo 'paths = ["."]' > .cargo/config
  - git clone -q --depth 50 -b pending https://github.com/rust-gnome/examples _examples
  - cd _examples
  - ./build.sh

Include png feature for non-glib CI
Include png feature for non-glib CI
