environment:
  matrix:
    - RUST: stable
      BITS: 32
    - RUST: stable
      BITS: 64
    - RUST: nightly
      BITS: 32
    - RUST: nightly
      BITS: 64

install:
  - IF "%BITS%" == "32" SET ARCH=i686
  - IF "%BITS%" == "64" SET ARCH=x86_64
  - curl -sSf -o rustup-init.exe https://win.rustup.rs
  - rustup-init.exe --default-host "%ARCH%-pc-windows-gnu" --default-toolchain %RUST% -y
  - SET PATH=C:\Users\appveyor\.cargo\bin;C:\msys64\mingw%BITS%\bin;%PATH%;C:\msys64\usr\bin
  - rustc -Vv
  - cargo -Vv
  - pacman --noconfirm -S mingw-w64-%ARCH%-gtk3

build_script:
  - mkdir .cargo
  - echo paths = ["."] > .cargo\config
  - cargo build
  - cargo test
  - cargo test --examples
  - cargo test --manifest-path examples/buttons-attribute/Cargo.toml
  #- cargo build --manifest-path examples/http/Cargo.toml
  #- cargo build --manifest-path examples/async/Cargo.toml
  - cargo build --manifest-path examples/webkit-test/Cargo.toml
  - cargo build --manifest-path examples/buttons-derive/Cargo.toml

test: false

environment:
  matrix:
    - RUST: stable
      BITS: 32
    - RUST: stable
      BITS: 64
    - RUST: nightly
      BITS: 32
    - RUST: nightly
      BITS: 64

install:
  - IF "%BITS%" == "32" SET ARCH=i686
  - IF "%BITS%" == "64" SET ARCH=x86_64
  - curl -sSf -o rustup-init.exe https://win.rustup.rs
  - rustup-init.exe --default-host "%ARCH%-pc-windows-gnu" --default-toolchain %RUST% -y
  - SET PATH=C:\Users\appveyor\.cargo\bin;C:\msys64\mingw%BITS%\bin;%PATH%;C:\msys64\usr\bin
  - rustc -Vv
  - cargo -Vv
  - pacman --noconfirm -S mingw-w64-%ARCH%-gtk3

build_script:
  - mkdir .cargo
  - echo paths = ["."] > .cargo\config
  - cargo build

test: false

Revert "Add tests in AppVeyor"
Revert "Add tests in AppVeyor"

This reverts commit 7ba698e528331ccad943231d5a9e43459179b94a.
