Skip to content

Commit

Permalink
[GH-35] restrict testing to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
030 committed May 14, 2019
1 parent 324a1e1 commit bb622ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ addons:
script:
- diff -u <(echo -n) <(gofmt -d ./)
- export DELIVERABLE="n3dr-${TRAVIS_OS_NAME}"
- go test -short -cover -v -coverprofile=coverage.out -covermode=atomic ./...
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then go test -short -cover -v -coverprofile=coverage.out -covermode=atomic ./...; fi
- go build -o $DELIVERABLE
- $SHA512_CMD $DELIVERABLE > ${DELIVERABLE}.sha512.txt
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sonar-scanner -Dsonar.projectKey=030_n3dr -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.coverage.exclusions=**/*_test.go -Dsonar.go.coverage.reportPaths="coverage.out"; fi
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Restrict testing to linux as docker is omitted on Mac and Windows build in travis.

## [1.0.1] - 2019-05-14
### Fixed
Expand Down

0 comments on commit bb622ed

Please sign in to comment.