social-snippet/social-snippet

View on GitHub
appveyor.yml

Summary

Maintainability
Test Coverage
version: "{build}"

install:
  - ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
  - cmd: choco install pkgconfiglite
  - cmd: if not exist c:\src\libgit2 git clone --branch v0.21.1 --depth 1 --single-branch git://github.com/libgit2/libgit2 c:\src\libgit2
  - cmd: cd c:\src\libgit2
  - cmd: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_INSTALL_PREFIX=%PREFIX%\libgit2 .
  - cmd: cmake --build . --target install

  - cmd: SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - cmd: ruby --version
  - cmd: SET PATH=%PREFIX%\libgit2\bin;%PATH%

  - cmd: gem --version
  - cmd: gem update --system
  - gem install rugged --no-ri --no-rdoc -- --use-system-libraries --with-git2-dir=%PREFIX%\libgit2
# - gem install bundler --no-ri --no-rdoc
# - bundle install --jobs 2

test_script:
  - cmd: echo starting test...
# - cmd: bundle exec rake spec
# - cmd: bundle exec rake spec_without_fakefs
# - cmd: bundle exec rake test
# - cmd: bundle exec rake test_without_fakefs

build: off

cache:
  - c:\src
  - c:\libs
  - vendor/bundle
  - C:\Ruby193\lib\ruby\gems\1.9.1
  - C:\Ruby193\bin
  - C:\Ruby200\lib\ruby\gems\2.0.0
  - C:\Ruby200\bin
  - C:\Ruby21\lib\ruby\gems\2.1.0
  - C:\Ruby21\bin

environment:

  global:
    PREFIX: c:\libs

  matrix:
    - ruby_version: "21"
#     - ruby_version: "200"
#     - ruby_version: "193"