sudo: required
install: true

language: rust

services:
  - docker

script:
  - cargo build --verbose --release
  - cargo test --verbose

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    docker build -t "$DOCKER_DEPLOY_HOST/$DOCKER_IMAGE_NAME" .
    docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_DEPLOY_HOST";
    docker push "$DOCKER_DEPLOY_HOST/$DOCKER_IMAGE_NAME";
    fi
sudo: required
install: true

language: rust

services:
  - docker

script:
  - cargo build --verbose --release
  - cargo test --verbose

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
    docker build -t "$DOCKER_DEPLOY_HOST/$DOCKER_IMAGE_NAME" .;
    docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_DEPLOY_HOST";
    docker push "$DOCKER_DEPLOY_HOST/$DOCKER_IMAGE_NAME";
    fi
Fix Travis CI file typo
Fix Travis CI file typo
