language: generic

sudo: required

services:
  - docker

before_script:
  - make testservice

script:
  - make build
  - make testcli

after_success:
  - if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" ]; then exit 0; fi
  - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
  - docker push arachnysdocker/athenapdf
  - docker push arachnysdocker/athenapdf-service

language: generic

sudo: required

services:
  - docker

before_script:
  - make testservice

script:
  - make build
  - make testcli

after_success:
  - if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" -o -n "$TRAVIS_TAG" ]; then exit 0; fi
  - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
  - docker push arachnysdocker/athenapdf
  - docker push arachnysdocker/athenapdf-service

Fix Travis CI not being able to push Docker images
Fix Travis CI not being able to push Docker images

`-e` flag has been deprecated.
