sudo: required
services:
  - docker
language: node_js
node_js:
- '0.10'
env:
  global:
  - GH_REF: github.com/chad-autry/stdin-eval-stdout
script:
- npm test
- npm prune --production
- docker build -t chadautry/stdin-eval-stdout:latest .
- if [[ ! -z "$TRAVIS_TAG" ]]; then docker tag chadautry/stdin-eval-stdout:latest chadautry/stdin-eval-stdout:$TRAVIS_TAG ; fi
after_script:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push chadautry/stdin-eval-stdout
sudo: required
services:
  - docker
language: node_js
node_js:
- '0.10'
env:
  global:
  - GH_REF: github.com/chad-autry/stdin-eval-stdout
script:
- npm test
- npm prune --production
- docker build -t chadautry/stdin-eval-stdout:latest .
after_script:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push chadautry/stdin-eval-stdout
Remove the if statement to tag docker image on tagged builds (see if it is causing the push issue)
Remove the if statement to tag docker image on tagged builds (see if it is causing the push issue)
