Skip to content

Commit

Permalink
release v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ajatprabha committed Jul 3, 2019
1 parent 0b3dba4 commit f5e7807
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
language: go
go: '1.12.x'

stages:
- test
- name: release
if: (repo == gojek/darkroom) AND (branch == master) AND (tag IS present)

env:
global:
- GO111MODULE=on
Expand All @@ -15,17 +10,16 @@ script: echo "Skip global script..."

jobs:
include:
- stage: test
- name: "Tests"
install: make setup
script: make test-ci

- stage: release
- name: "Release Builds"
if: branch = master AND tag IS present
services: docker
before_script:
- |
[ ! -z $DOCKER_PASSWORD ] && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
[ ! -z $DOCKER_PASSWORD ] && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USER" --password-stdin
script: curl -sL https://git.io/goreleaser | bash -s -- --rm-dist --skip-validate

notifications:
Expand Down

0 comments on commit f5e7807

Please sign in to comment.