Sha256: 488f66e1c7c8c725c805c3b5ceb84fac490c0aeb5764adef10c40e4f271ebeef
Contents?: true
Size: 1.65 KB
Versions: 5
Compression:
Stored size: 1.65 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: 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
image_optim-0.28.0 | .appveyor.yml |
image_optim-0.27.1 | .appveyor.yml |
image_optim-0.27.0 | .appveyor.yml |
image_optim-0.26.5 | .appveyor.yml |
image_optim-0.26.4 | .appveyor.yml |