Skip to content

Commit

Permalink
Merge pull request #47 from CiscoCloud/feature/travis-ci
Browse files Browse the repository at this point in the history
add travis-ci build
  • Loading branch information
ryane committed Jun 9, 2016
2 parents 9f60e7a + 13a98f1 commit eeb4faa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: go

go:
- 1.6

services:
- docker

script:
- make deps
- make test

before_deploy:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"

deploy:
- provider: script
skip_cleanup: true
script:
- make pushedge
on:
branch: master
- provider: script
skip_cleanup: true
script:
- make push
on:
tags: true
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

const Name = "mantl-api"
const Version = "0.2.0"
const Version = "0.2.2"

var wg sync.WaitGroup

Expand Down

0 comments on commit eeb4faa

Please sign in to comment.