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

Commit

Permalink
Add more checks
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 22, 2018
1 parent cd0c83a commit 4bac4c0
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 10 deletions.
55 changes: 47 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,61 @@
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
make regen_check;
fi
- 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
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion gir
Submodule gir updated 95 files
+80 −250 Cargo.lock
+9 −11 Cargo.toml
+5 −44 README.md
+1 −3 appveyor.yml
+1 −1 build.rs
+22 −25 src/analysis/bounds.rs
+10 −10 src/analysis/child_properties.rs
+2 −2 src/analysis/class_hierarchy.rs
+0 −69 src/analysis/constants.rs
+0 −3 src/analysis/conversion_type.rs
+2 −2 src/analysis/ffi_type.rs
+24 −25 src/analysis/function_parameters.rs
+38 −109 src/analysis/functions.rs
+33 −90 src/analysis/imports.rs
+6 −29 src/analysis/mod.rs
+15 −4 src/analysis/namespaces.rs
+49 −44 src/analysis/object.rs
+2 −2 src/analysis/out_parameters.rs
+15 −18 src/analysis/properties.rs
+14 −13 src/analysis/record.rs
+5 −11 src/analysis/record_type.rs
+4 −4 src/analysis/ref_mode.rs
+4 −4 src/analysis/return_value.rs
+6 −7 src/analysis/rust_type.rs
+6 −6 src/analysis/signals.rs
+6 −32 src/analysis/signatures.rs
+1 −1 src/analysis/supertypes.rs
+1 −1 src/analysis/symbols.rs
+10 −10 src/analysis/trampoline_parameters.rs
+7 −7 src/analysis/trampolines.rs
+0 −234 src/analysis/types.rs
+0 −109 src/case.rs
+1 −2 src/chunk/chunk.rs
+0 −12 src/chunk/parameter_ffi_call_out.rs
+2 −2 src/codegen/alias.rs
+1 −1 src/codegen/child_properties.rs
+0 −57 src/codegen/constants.rs
+4 −4 src/codegen/doc/format.rs
+10 −10 src/codegen/doc/mod.rs
+40 −26 src/codegen/enums.rs
+37 −22 src/codegen/flags.rs
+7 −230 src/codegen/function.rs
+120 −149 src/codegen/function_body_chunk.rs
+1 −1 src/codegen/functions.rs
+16 −107 src/codegen/general.rs
+1 −14 src/codegen/mod.rs
+6 −19 src/codegen/object.rs
+1 −1 src/codegen/properties.rs
+2 −2 src/codegen/property_body.rs
+3 −24 src/codegen/record.rs
+2 −4 src/codegen/signal.rs
+3 −4 src/codegen/sys/build.rs
+11 −34 src/codegen/sys/cargo_toml.rs
+1 −1 src/codegen/sys/ffi_type.rs
+0 −139 src/codegen/sys/fields.rs
+20 −14 src/codegen/sys/functions.rs
+429 −146 src/codegen/sys/lib_.rs
+3 −6 src/codegen/sys/mod.rs
+13 −3 src/codegen/sys/statics.rs
+0 −461 src/codegen/sys/tests.rs
+1 −1 src/codegen/trampoline.rs
+6 −6 src/config/child_properties.rs
+78 −98 src/config/config.rs
+0 −58 src/config/constants.rs
+38 −13 src/config/error.rs
+6 −4 src/config/external_libraries.rs
+15 −15 src/config/functions.rs
+23 −36 src/config/gobjects.rs
+5 −5 src/config/members.rs
+0 −1 src/config/mod.rs
+3 −3 src/config/properties.rs
+12 −12 src/config/signals.rs
+0 −54 src/custom_type_glib_priority.rs
+0 −47 src/lib.rs
+30 −78 src/library.rs
+0 −105 src/library_postprocessing.rs
+0 −8 src/library_preprocessing.rs
+66 −61 src/main.rs
+0 −4 src/nameutil.rs
+1,317 −795 src/parser.rs
+1 −1 src/update_version.rs
+0 −44 src/visitors.rs
+1 −1 src/writer/defines.rs
+1 −1 src/writer/to_code.rs
+1 −1 src/writer/untabber.rs
+0 −464 src/xmlparser.rs
+2 −2 tests/sys/atk-sys/Cargo.toml
+2 −3 tests/sys/gdk-pixbuf-sys/Cargo.toml
+2 −5 tests/sys/gdk-sys/Cargo.toml
+2 −7 tests/sys/gio-sys/Cargo.toml
+2 −7 tests/sys/glib-sys/Cargo.toml
+2 −4 tests/sys/gobject-sys/Cargo.toml
+2 −6 tests/sys/gtk-sys/Cargo.toml
+2 −4 tests/sys/pango-sys/Cargo.toml
+2 −2 tests/sys/secret-sys/Cargo.toml
2 changes: 1 addition & 1 deletion gir-files
Submodule gir-files updated 18 files
+3 −3 Atk-1.0.gir
+7,471 −2,240 GLib-2.0.gir
+8,113 −2,528 Gdk-3.0.gir
+3 −40 GdkPixbuf-2.0.gir
+46 −96 Gio-2.0.gir
+29,571 −9,391 Gtk-3.0.gir
+5 −5 GtkSource-3.0.gir
+4 −8 Pango-1.0.gir
+166 −46 PangoCairo-1.0.gir
+12 −148 Soup-2.4.gir
+4 −154 Vte-2.91.gir
+6 −6 WebKit2-4.0.gir
+645 −229 cairo-1.0.gir
+3 −2 dl.sh
+32 −0 fix.py
+0 −37 fix.sh
+9 −3 freetype2-2.0.gir
+4 −2 gir-dl.sh

0 comments on commit 4bac4c0

Please sign in to comment.