Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Commit

Permalink
enable travis
Browse files Browse the repository at this point in the history
svenwltr committed Sep 22, 2017
1 parent 4a22bf2 commit 8caa9b0
Showing 2 changed files with 30 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .jenkins.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
sudo: required

language: go

services:
- docker

script:
- docker build -t kubernetes-deployment --no-cache .
- >
docker run
--name kubernetes-deployment
--entrypoint "sh"
-e CGO_ENABLED=0
--workdir "/go/src/github.com/rebuy-de/kubernetes-deployment"
kubernetes-deployment
-euxc "make xc && mkdir releases && mv kubernetes-deployment-* releases"
- docker cp -L kubernetes-deployment:/go/src/github.com/rebuy-de/kubernetes-deployment/releases ./releases
- ls -l *

deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: releases/*
skip_cleanup: true
on:
repo: rebuy-de/kubernetes-deployment
tags: true

0 comments on commit 8caa9b0

Please sign in to comment.