Skip to content

Commit

Permalink
Install Fossa, test with it; add Go 1.14.x
Browse files Browse the repository at this point in the history
  • Loading branch information
philpennock committed May 26, 2020
1 parent f2bf5ce commit 36a8c07
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: go
sudo: false
# Travis Xenial doesn't support disabling sudo, that's ability is
# a relic of previous container-based non-ByoDocker builds.

go:
- 1.14.x
- 1.13.x
- 1.12.x

Expand All @@ -16,7 +19,12 @@ before_script:
- go vet ./...
- misspell -error -locale US .
- staticcheck ./...
# Beware that this will install, then curl itself a second time and run through the steps silently:
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash"


script:
- go test -v -race ./...
- if [[ "$TRAVIS_GO_VERSION" =~ 1.12 ]]; then ./scripts/cov.sh TRAVIS; fi
- fossa init
- fossa analyze

0 comments on commit 36a8c07

Please sign in to comment.