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

Bring Travis and AppVeyor configurations in sync with the GLib one #109

Merged
merged 1 commit into from Feb 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 17 additions & 15 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
- os: linux
rust: nightly
env: GTK=3.18
env: GTK=3.24 FEATURES=v2_32
- 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_32
- 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_32
- 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_32
- 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_32
- 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_32
sudo: true
addons:
apt:
Expand All @@ -53,11 +54,12 @@ script:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.4" ]; then
make regen_check;
fi
- cargo test --features embed-lgpl-docs
- cargo doc --features "dox,embed-lgpl-docs"
- cargo test --features "$FEATURES,embed-lgpl-docs"
# catch any sneaked in lgpl docs
- cargo build --features purge-lgpl-docs
- cargo doc --features "dox"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also still needed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, If you checked that cargo doc --features "dox,embed-lgpl-docs" adds docs,
then embed-lgpl-docs maybe don't needed for test

- cargo build --features "$FEATURES,purge-lgpl-docs" --jobs 1
- git diff -R --exit-code
- 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
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