language: rust
sudo: false
env: RUST_BACKTRACE=1

before_script:
  - '[ -z "${REGISTRY_PASS:-}" ] || echo "$REGISTRY_PASS" | docker login -u "$REGISTRY_USER" --password-stdin'
  - docker pull marwes/try_gluon:dependencies || true
  - >
      if [ "${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH:-}}" == 'master' ]; then
        docker pull marwes/try_gluon:builder || true
        docker pull marwes/try_gluon || true
      fi

script:
  - ./scripts/travis.sh

after_script:
  - docker images

deploe:
  provider: script
  script: ./scripts/docker_push.sh
  on:
    branch: master

language: rust
sudo: false
env: RUST_BACKTRACE=1

before_script:
  - '[ -z "${REGISTRY_PASS:-}" ] || echo "$REGISTRY_PASS" | docker login -u "$REGISTRY_USER" --password-stdin'
  - docker pull marwes/try_gluon:dependencies || true
  - >
      if [ "${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH:-}}" == 'master' ]; then
        docker pull marwes/try_gluon:builder || true
        docker pull marwes/try_gluon || true
      fi

script:
  - ./scripts/travis.sh

after_script:
  - docker images

deploy:
  provider: script
  script: ./scripts/docker_push.sh
  on:
    branch: master

Fix typo preventing docker push
Fix typo preventing docker push