katzer/mruby-shelf-deflater

View on GitHub
.appveyor.yml

Summary

Maintainability
Test Coverage
# MIT License
#
# Copyright (c) 2017 Sebastian Katzer
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

image: Visual Studio 2017

environment:
  global:
    COMPILER: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64
  matrix:
  - MRUBY_VERSION: stable
    TOOLCHAIN: gcc
  - MRUBY_VERSION: stable
    TOOLCHAIN: visualcpp
  - MRUBY_VERSION: head
    TOOLCHAIN: gcc
  - MRUBY_VERSION: head
    TOOLCHAIN: visualcpp

matrix:
  allow_failures:
  - MRUBY_VERSION: head

init:
- SET PATH=%COMPILER%\bin;C:\Ruby26-x64\bin;%PATH%;C:\cygwin64\bin
- IF "%TOOLCHAIN%" == "visualcpp" (CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat")
- IF "%TOOLCHAIN%" == "gcc" (gcc --version)

build_script:
- rake compile

test_script:
- rake test