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

enable travis #78

Merged
merged 2 commits into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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