diff --git a/.travis.yml b/.travis.yml index 9bcff110..25cd5987 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,10 +27,10 @@ before_script: - LINT_PKGS=$(go list ./... | grep -Ev 'aws-lambda-go/lambda') script: - - diff -u <(echo -n) <(gofmt -d ./) # Fail if a .go file hasn't been formatted with gofmt - - goverage -v -covermode=atomic -coverprofile=coverage.txt $PKGS # Run all tests with coverage - - go vet -v ./... # static analyisis - - golint $LINT_PKGS # lint - ignore failures for now + - diff -u <(echo -n) <(gofmt -d ./) # Fail if a .go file hasn't been formatted with gofmt + - goverage -v -race -covermode=atomic -coverprofile=coverage.txt $PKGS # Run all tests with coverage + - go vet -v ./... # static analyisis + - golint $LINT_PKGS # lint - ignore failures for now after_success: - bash <(curl -s https://codecov.io/bash)