sudo: required

services:
  - docker

language: node_js

node_js:
- node
script:
- npm run lint
- npm run generate-coverage
- npm run check-coverage
- npm run upload-coverage-coveralls
- npm run upload-coverage-codacy

deploy:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- chmod +x scripts/*
- ./scripts/docker_ci.sh

sudo: required

services:
  - docker

language: node_js

node_js:
- node
script:
- npm run lint
- npm run generate-coverage
- npm run check-coverage
- npm run upload-coverage-coveralls
- npm run upload-coverage-codacy

after_script:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- chmod +x scripts/*
- ./scripts/docker_ci.sh

Use after_script instead of deploy
Use after_script instead of deploy
