.travis.yml: Add CI for v3

dustin/master
Dustin Oprea 2020-07-11 02:37:57 -04:00
parent 312218d7b1
commit f76918441c
1 changed files with 7 additions and 5 deletions

View File

@ -11,9 +11,11 @@ install:
- go get -t ./... - go get -t ./...
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
script: script:
# Don't test recursively, so we stay within v1/legacy. # v1
- go test -v github.com/dsoprea/go-exif - go test -v .
- go test -v github.com/dsoprea/go-exif/exif-read-tool - go test -v ./exif-read-tool
# Coverage is based on v2. # v2
- cd v2 - go test -v ./v2/...
# v3. Coverage reports comes from this.
- cd v3
- EXIF_MODULE_ROOT_PATH="$(pwd)" goveralls -v -service=travis-ci - EXIF_MODULE_ROOT_PATH="$(pwd)" goveralls -v -service=travis-ci