Skip to content

Commit

Permalink
update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ajatprabha committed Jul 1, 2019
1 parent e00d7f4 commit 2d59c54
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -12,8 +12,8 @@ env:
global:
- GO111MODULE=on

install: echo "Skip global `install` ..."
script: echo "Skip global `script` ..."
install: echo "Skip global install..."
script: echo "Skip global script..."

build_docker_image: &build_docker_image
before_script:
Expand All @@ -27,15 +27,16 @@ build_docker_image: &build_docker_image
jobs:
include:
- stage: test
- name: "Tests"
install: make setup
script: make test-ci

- stage: release
- name: "Release Builds"
script: curl -sL https://git.io/goreleaser | bash -s -- --rm-dist --skip-validate
- name: "Docker Builds"
<<: *build_docker_image
script: docker push gojek/darkroom:$TRAVIS_TAG && docker push gojek/darkroom:$DOCKER_LATEST
<<: *build_docker_image
script: docker push gojek/darkroom:$TRAVIS_TAG && docker push gojek/darkroom:$DOCKER_LATEST

notifications:
email: false

0 comments on commit 2d59c54

Please sign in to comment.