Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18 from sdroege/travis-xenial
Browse files Browse the repository at this point in the history
Bring Travis and AppVeyor configurations in sync with the GLib one
  • Loading branch information
GuillaumeGomez committed Feb 9, 2019
2 parents 9d84fe2 + 573b403 commit 75c6b23
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
39 changes: 16 additions & 23 deletions .travis.yml
@@ -1,42 +1,43 @@
dist: xenial
language: rust
matrix:
include:
- os: linux
rust: nightly
env: GTK=3.4
env: GTK=3.14 FEATURES=
- os: linux
rust: nightly
env: GTK=3.22.30
env: GTK=3.24 FEATURES=
- os: linux
rust: beta
env: GTK=3.4
env: GTK=3.14 FEATURES=
- os: linux
rust: beta
env: GTK=3.22.30
env: GTK=3.24 FEATURES=
- os: linux
rust: 1.31.0 # to check gstreamer compatibility
env: GTK=3.4
env: GTK=3.14 FEATURES=
- os: linux
rust: 1.31.0 # to check gstreamer compatibility
env: GTK=3.22.30
env: GTK=3.24 FEATURES=
- os: osx
rust: nightly
env: GTK=3.4
env: GTK=3.14 FEATURES=
# - os: osx
# rust: nightly
# env: GTK=3.22.30
# env: GTK=3.24 FEATURES=
- os: osx
rust: beta
env: GTK=3.4
env: GTK=3.14 FEATURES=
# - os: osx
# rust: beta
# env: GTK=3.22.30
# env: GTK=3.24 FEATURES=
- os: osx
rust: stable
env: GTK=3.4
env: GTK=3.14 FEATURES=
# - os: osx
# rust: stable
# env: GTK=3.22.30
# env: GTK=3.24 FEATURES=
addons:
apt:
packages:
Expand All @@ -49,20 +50,12 @@ before_install:
fi
script:
- rustc --version
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.4" ]; then
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.14" ]; then
make regen_check;
fi
- ./check_init_asserts
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.4" ]; then
rustup component add clippy-preview;
cargo clippy;
fi
- cargo build --features v2_10
- cargo test --features embed-lgpl-docs --jobs 1
- cargo doc --features "dox"
# catch any sneaked in lgpl docs
- cargo build --features purge-lgpl-docs --jobs 1
- git diff -R --exit-code
- cargo test --features "$FEATURES"
- rustc --version
- mkdir .cargo
- echo 'paths = ["."]' > .cargo/config
- git clone -q --depth 50 -b pending https://github.com/gtk-rs/examples _examples
Expand Down
5 changes: 4 additions & 1 deletion appveyor.yml
Expand Up @@ -16,11 +16,14 @@ install:
- pacman --noconfirm -S mingw-w64-%ARCH%-gtk3

build_script:
- cargo doc --features "dox"
- cargo test
- cargo test --features v2_30
- mkdir .cargo
- echo paths = ["."] > .cargo\config
- git clone -q --depth 50 -b pending https://github.com/gtk-rs/examples _examples
- cd _examples
- cargo build
- cargo build --features gtk_3_18
- cargo build --features gtk_3_24

test: false

0 comments on commit 75c6b23

Please sign in to comment.