docker-hub-description-updater/.travis.yml

29 lines
687 B
YAML

services:
- docker
stages:
- build
# - test
- deploy
jobs:
include:
- name: "Compile golang binaries inside a container image"
stage: build
script: make container-run/all
# - name: "Test golang binaries inside a container image"
# stage: test
# script: make container-run/test
- name: "Deploy container-image tagged as latest"
stage: deploy
script: make container-image/push
# - name: "Deploy container-image tagged with a git tag"
# stage: deploy
# script: make container-image/push VERSION=${TRAVIS_TAG} CONTAINER_IMAGE_VERSION=${TRAVIS_TAG}
# on:
# tags: true
notifications:
email:
on_success: change
on_failure: change