Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arimeka committed Apr 10, 2019
1 parent a87768b commit c91327b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: go

dist: xenial
sudo: required

go:
- 1.10.x
- 1.11.x
- 1.x

addons:
apt:
packages:
- libmagic-dev

before_install:
- sudo add-apt-repository ppa:jonathonf/ffmpeg-4 -y
- sudo apt-get update -q
- sudo apt-get install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavresample-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev -y
- go get -v -u github.com/go-lintpack/lintpack/...
- go get -v github.com/go-critic/go-critic/...
- lintpack build -o $GOPATH/bin/gocritic -linter.version='v0.3.4' -linter.name='gocritic' github.com/go-critic/go-critic/checkers

install:
- go get -u golang.org/x/lint/golint
- go get github.com/3d0c/gmf
- go get github.com/rakyll/magicmime
- go get github.com/rwcarlsen/goexif/exif
- go get golang.org/x/image/bmp
- go get golang.org/x/image/tiff
- go get golang.org/x/image/webp

script:
- ./scripts.sh test

0 comments on commit c91327b

Please sign in to comment.