Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko authored Dec 7, 2020
1 parent 91b29a8 commit 93ee8bc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
- MYAPP=advent-of-code
- MYEMAIL=oleg.balunenko@gmail.com
- GOPROXY=https://gocenter.io
addons:
sonarcloud:
organization: oleg-balunenko-github
token: "$SONAR_TOKEN"

jobs:
include:
Expand All @@ -23,6 +27,18 @@ jobs:
- make test-cover
after_success:
- bash <(curl -s https://codecov.io/bash)

- stage: Linting
go:
- 1.15.x
os:
- linux
before_script:
- make install-tools
script:
- echo "Linters running..."
- make lint-ci
- sonar-scanner -Dsonar.projectVersion=${TRAVIS_TAG}

- stage: Build
go:
Expand Down

0 comments on commit 93ee8bc

Please sign in to comment.