diff --git a/.travis.yml b/.travis.yml index 2cf3d2fdd..ac213e991 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ node_js: services: - docker +before_install: + - echo "$DOCKERHUB_TOKEN" | docker login -u "icdevops" --password-stdin; + script: # Audit npm packages. Fail build whan a PR audit fails, otherwise report the vulnerability and proceed. - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then npx audit-ci --low -a node-fetch; else npx audit-ci --low -a node-fetch || true; fi