Skip to content

Commit 5ab982c

Browse files
chore: fix sonar analysis (#572)
1 parent 2d9a7a3 commit 5ab982c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ install:
2222
- make test-install
2323
script:
2424
- make test
25-
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
26-
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin;
27-
fi
25+
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST"
26+
== "false" ]; then echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}"
27+
--password-stdin; fi
2828
- make cover
2929
deploy:
3030
- provider: script
@@ -48,3 +48,8 @@ notifications:
4848
on_failure: change
4949
rooms:
5050
secure: FbHzWXjWnpy97v4bmm75T15D0zLBdunEQ3l+w7LqC6cR2nCYOLqcIs2VvwJXXpSbSu9CVzRdMQYfsS7AYi+Fakg93nQOLEtkrhkYiq3yRKXsFVICaJOWPUQbZOdouTKtYZF/0P6FzjdBxbZeD7UW12FKiQ+dL9ncBrgGJExrqFo=
51+
addons:
52+
sonarcloud:
53+
organization: "twilio"
54+
token:
55+
secure: uDJi2+fRxHes2S8/ZeCnLgalst3g/7ejUjVeTI596c3TTxDm+KFh7Nap1srVXjy0MIBPaOLoV/EPrt271C77XdNWarnz6dkqM4axWs/14DT2iRSQJuh90tr0s7mox7SkDE+W+AnPfv+807ksz0174AA4EIy/ubi2KcyHhhpYd0I=

0 commit comments

Comments
 (0)