Skip to content

Commit

Permalink
chore: improved travis
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoDw committed Apr 23, 2020
1 parent 711e366 commit bb0dd24
Showing 1 changed file with 17 additions and 25 deletions.
42 changes: 17 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,26 @@ sudo: required
services:
- docker
language: go
go:
- "1.12.x"

git:
depth: 1


install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools

script:
- make lint
- make test
- make website-lint
- make website-test

#branches:
# only:
# - master

matrix:
fast_finish: true
allow_failures:
- go: tip
include:
- go: "1.13.x"
name: "Code Lint"
script: make lint
- go: "1.13.x"
name: "Code UnitTest"
script: make test
- go: "1.13.x"
name: "Website"
#- make website-test #commented until Terraform Provider Program Validation
script: make website-lint

env:
- GOFLAGS=-mod=vendor GO111MODULE=on
global:
- GOFLAGS=-mod=vendor GO111MODULE=on

install:
- make tools

0 comments on commit bb0dd24

Please sign in to comment.