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

Commit

Permalink
Bring Travis and AppVeyor configurations in sync with the GLib one
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Feb 9, 2019
1 parent 735d44a commit e2e5316
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
31 changes: 15 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
dist: xenial
language: rust
matrix:
include:
- os: linux
rust: nightly
env: GTK=3.4
env: GTK=3.14
- os: linux
rust: nightly
env: GTK=3.18
env: GTK=3.24 FEATURES=v2_36_8
- os: linux
rust: beta
env: GTK=3.4
env: GTK=3.14
- os: linux
rust: beta
env: GTK=3.18
env: GTK=3.24 FEATURES=v2_36_8
- os: linux
rust: 1.31.0
env: GTK=3.4
env: GTK=3.14
- os: linux
rust: 1.31.0
env: GTK=3.18
env: GTK=3.24 FEATURES=v2_36_8
- os: osx
rust: nightly
env: GTK=3.4
env: GTK=3.14
# - os: osx
# rust: nightly
# env: GTK=3.18
# env: GTK=3.24 FEATURES=v2_36_8
- os: osx
rust: beta
env: GTK=3.4
env: GTK=3.14
# - os: osx
# rust: beta
# env: GTK=3.18
# env: GTK=3.24 FEATURES=v2_36_8
- os: osx
rust: stable
env: GTK=3.4
env: GTK=3.14
# - os: osx
# rust: stable
# env: GTK=3.18
# env: GTK=3.24 FEATURES=v2_36_8
sudo: true
addons:
apt:
Expand All @@ -53,11 +54,9 @@ script:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.4" ]; then
make regen_check;
fi
- cargo test --features embed-lgpl-docs
# catch any sneaked in lgpl docs
- cargo build --features purge-lgpl-docs
- cargo doc --features "dox"
- 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
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ install:

build_script:
- cargo doc --features "dox"
- cargo test
- cargo test --features v2_36_8
- 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 e2e5316

Please sign in to comment.