Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
[GH-35] enforce LF
Browse files Browse the repository at this point in the history
  • Loading branch information
030 committed May 7, 2019
1 parent fc80064 commit 0935307
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
language: go
go:
- 1.12.4
env:
global:
- SHA512_CMD=sha512sum
- GO111MODULE=on
matrix:
include:
- os: linux
dist: bionic
- os: osx
env: SHA512_CMD="shasum -a 512"
- os: windows
env:
- GO111MODULE=on
addons:
sonarcloud:
organization: 030-github
Expand All @@ -19,7 +22,7 @@ script:
- export DELIVERABLE="go-yq-${GOOS}"
- go test -short -cover -v -coverprofile=coverage.out -covermode=atomic ./...
- go build -o $DELIVERABLE
- shasum -a 512 $DELIVERABLE > ${DELIVERABLE}.sha512.txt
- $SHA512_CMD $DELIVERABLE > ${DELIVERABLE}.sha512.txt
- sonar-scanner -Dsonar.projectKey=030_go-yq -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.coverage.exclusions=**/*_test.go -Dsonar.go.coverage.reportPaths="coverage.out"
deploy:
provider: releases
Expand Down

0 comments on commit 0935307

Please sign in to comment.