Skip to content

Commit 319e4b3

Browse files
diegobernardesbmoffatt
authored andcommitted
Enable race detection at tests (#239)
1 parent 1a58586 commit 319e4b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ before_script:
2727
- LINT_PKGS=$(go list ./... | grep -Ev 'aws-lambda-go/lambda')
2828

2929
script:
30-
- diff -u <(echo -n) <(gofmt -d ./) # Fail if a .go file hasn't been formatted with gofmt
31-
- goverage -v -covermode=atomic -coverprofile=coverage.txt $PKGS # Run all tests with coverage
32-
- go vet -v ./... # static analyisis
33-
- golint $LINT_PKGS # lint - ignore failures for now
30+
- diff -u <(echo -n) <(gofmt -d ./) # Fail if a .go file hasn't been formatted with gofmt
31+
- goverage -v -race -covermode=atomic -coverprofile=coverage.txt $PKGS # Run all tests with coverage
32+
- go vet -v ./... # static analyisis
33+
- golint $LINT_PKGS # lint - ignore failures for now
3434

3535
after_success:
3636
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)