From b9b68b751a5ce05b71b5a9c4354d47b95d2265fd Mon Sep 17 00:00:00 2001 From: Tomas Date: Sun, 7 Jun 2020 01:52:47 +0200 Subject: [PATCH] fix(ci) --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e29a2da..2fabb7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,10 @@ cache: directories: - $HOME/libvips -script: +install: - docker build -t h2non/bimg:ci --build-arg LIBVIPS_VERSION=$LIBVIPS . + +script: - docker run h2non/bimg:ci sh -c 'export LD_LIBRARY_PATH=/vips/lib:$LD_LIBRARY_PATH; export PKG_CONFIG_PATH=/vips/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig; go vet . && golint . && go test -v -race -covermode=atomic -coverprofile=coverage.out' # - diff -u <(echo -n) <(gofmt -s -d ./) # - diff -u <(echo -n) <(go vet ./)