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

Commit

Permalink
Update CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 22, 2018
1 parent 2e0994d commit 0c3b629
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 8 deletions.
56 changes: 48 additions & 8 deletions .travis.yml
@@ -1,15 +1,54 @@
language: rust
rust:
- nightly
- beta
- stable
env:
- GTK=3.4
- GTK=3.18
matrix:
include:
- os: linux
rust: nightly
env: GTK=3.4
- os: linux
rust: nightly
env: GTK=3.18
- os: linux
rust: beta
env: GTK=3.4
- os: linux
rust: beta
env: GTK=3.18
- os: linux
rust: stable
env: GTK=3.4
- os: linux
rust: stable
env: GTK=3.18
- os: osx
rust: nightly
env: GTK=3.4
# - os: osx
# rust: nightly
# env: GTK=3.18
- os: osx
rust: beta
env: GTK=3.4
# - os: osx
# rust: beta
# env: GTK=3.18
- os: osx
rust: stable
env: GTK=3.4
# - os: osx
# rust: stable
# env: GTK=3.18
sudo: true
addons:
apt:
packages:
- libgtk-3-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gtk+3 cairo atk; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig;
fi
script:
- rustc --version
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ] && [ "$GTK" == "3.4" ]; then
Expand All @@ -20,8 +59,9 @@ script:
# catch any sneaked in lgpl docs
- cargo build --features purge-lgpl-docs --jobs 1
- git diff -R --exit-code
- cargo doc --features "dox"
- mkdir .cargo
- echo 'paths = ["."]' > .cargo/config
- git clone -q --depth 50 -b pending https://github.com/rust-gnome/examples _examples
- git clone -q --depth 50 -b pending https://github.com/gtk-rs/examples _examples
- cd _examples
- ./build_travis.sh
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -16,6 +16,7 @@ install:
- pacman --noconfirm -S mingw-w64-%ARCH%-gtk3

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

0 comments on commit 0c3b629

Please sign in to comment.