diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..0399399 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/main.go b/main.go index 4b904ca..089730a 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ import ( ) const Name = "mantl-api" -const Version = "0.2.0" +const Version = "0.2.2" var wg sync.WaitGroup