Sha256: c8eb92c74023504739a67c124a0856d147a4dddcd3eb00eafc29d7add25cd408
Contents?: true
Size: 1.51 KB
Versions: 2
Compression:
Stored size: 1.51 KB
Contents
version: '{build}-{branch}' install: - mkdir tmp\bin || exit 0 - set PATH=C:\Ruby25-x64\bin;%cd%\tmp\bin;%PATH% - ruby --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[-2, -1]) { echo "################################################################################" $env:Path = "$rubypath;" + $path ruby --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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
image_optim-0.26.3 | .appveyor.yml |
image_optim-0.26.2 | .appveyor.yml |