File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ test_script:
81
81
- ps : |
82
82
$path = $env:Path
83
83
$rubypaths = ls -Path C:\Ruby*\bin
84
- foreach ($rubypath in $rubypaths[0, -2, -1]) {
84
+ foreach ($rubypath in $rubypaths[-2, -1]) {
85
85
echo "################################################################################"
86
86
$env:Path = "$rubypath;" + $path
87
87
ruby --version
@@ -91,6 +91,11 @@ test_script:
91
91
if ($LASTEXITCODE -gt 0) {
92
92
exit 1
93
93
}
94
+ rm tmp/optimize_test -recurse -force
95
+ cp spec/images tmp/optimize_test -recurse -force
96
+ bundle exec image_optim --allow-lossy -r tmp/optimize_test
97
+ if ($LASTEXITCODE -gt 0) {
98
+ exit 1
99
+ }
94
100
}
95
101
$env:Path = $path
96
- - bundle exec image_optim --allow-lossy -r spec/images
You can’t perform that action at this time.
0 commit comments