Sha256: c090a603ee2f8282848c67a6ef4cbd7db88e7642a2f287d5d3b183e58376180b
Contents?: true
Size: 1.68 KB
Versions: 3
Compression:
Stored size: 1.68 KB
Contents
version: '{build}-{branch}' install: - mkdir tmp\bin || exit 0 - set PATH=C:\Ruby25-x64\bin;%cd%\tmp\bin;%PATH% - ruby --version - gem --version - bundle package --all - ps: Install-Product node - ps: git --work-tree=tmp\bin checkout origin/windows-binaries -- '*.exe' - ps: | # svgo npm install -g svgo - ps: | # ImageMagick if ((-not (test-path tmp/bin/convert.exe)) -or (-not (test-path tmp/bin/compare.exe)) -or (-not (test-path tmp/bin/magic.xml))) { choco install -y imagemagick.tool cp C:\ProgramData\chocolatey\lib\imagemagick.tool\tools\convert.exe tmp\bin cp C:\ProgramData\chocolatey\lib\imagemagick.tool\tools\compare.exe tmp\bin cp C:\ProgramData\chocolatey\lib\imagemagick.tool\tools\magic.xml tmp\bin } - bundle exec image_optim --info --allow-lossy --no-pack cache: - tmp/bin build: off test_script: - ps: | $path = $env:Path $rubypaths = ls -Path C:\Ruby*\bin foreach ($rubypath in $rubypaths) { $env:Path = "$rubypath;" + $path ruby -e "abort unless RUBY_VERSION > '2.3'" if ($LASTEXITCODE -gt 0) { continue } echo "################################ $rubypath ################################" ruby --version gem --version bundle package --all bundle install --local -j4 bundle exec rspec if ($LASTEXITCODE -gt 0) { exit 1 } rm tmp/optimize_test -recurse -force cp spec/images tmp/optimize_test -recurse -force bundle exec image_optim --allow-lossy -r tmp/optimize_test if ($LASTEXITCODE -gt 0) { exit 1 } } $env:Path = $path
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
image_optim-0.31.0 | .appveyor.yml |
image_optim-0.30.0 | .appveyor.yml |
image_optim-0.29.0 | .appveyor.yml |