dist: trusty
sudo: required

services: docker

language: bash

branches:
  only:
    - master
    - wip
    - develop

before_script:
  - env | sort
  - name="uxbox"
  - image="madmath03/uxbox:${VERSION}"
  - dir="docker/"

script:
  - travis_retry docker build -t "$image" "$dir"

after_script:
  - docker images
  - docker run --name "$name" -d "$image" "$dir"
  - docker ps
  - docker logs "$name"

notifications:
  email: false

env: # Environments
    - VERSION=beta

dist: trusty
sudo: required

services: docker

language: bash

branches:
  only:
    - master
    - wip
    - develop

before_script:
  - env | sort

script:
  - manager.sh run

after_script:
  - docker images
  - docker ps

notifications:
  email: false

env: # Environments
    - VERSION=beta

Use the helper for automated build
:construction_worker: Use the helper for automated build
