mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
Update travis build
We need to manually build of vips from master because of the Poppler requirements that is too strong in 8.3.3.
This commit is contained in:
parent
6b76a33673
commit
eef2fe7035
2 changed files with 45 additions and 4 deletions
|
|
@ -23,21 +23,21 @@ func TestImageResize(t *testing.T) {
|
|||
func TestImageGifResize(t *testing.T) {
|
||||
_, err := initImage("test.gif").Resize(300, 240)
|
||||
if err == nil {
|
||||
t.Errorf("GIF shouldn't be saved within VIPS.")
|
||||
t.Errorf("GIF shouldn't be saved within VIPS")
|
||||
}
|
||||
}
|
||||
|
||||
func TestImagePdfResize(t *testing.T) {
|
||||
_, err := initImage("test.pdf").Resize(300, 240)
|
||||
if err == nil {
|
||||
t.Errorf("PDF cannot be saved within VIPS.")
|
||||
t.Errorf("PDF cannot be saved within VIPS")
|
||||
}
|
||||
}
|
||||
|
||||
func TestImageSvgResize(t *testing.T) {
|
||||
_, err := initImage("test.svg").Resize(300, 240)
|
||||
if err == nil {
|
||||
t.Errorf("SVG cannot be saved within VIPS.")
|
||||
t.Errorf("SVG cannot be saved within VIPS")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue