aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-14 02:53:26 +0300
committerValentin Popov <info@valentineus.link>2017-11-14 02:53:26 +0300
commitf9ec4da3f4c3c14e3ab56c8d36994fe939c4422c (patch)
tree45dc56d4095bdc770d5a5465535357d5518812b8 /.travis.yml
parent7f34aa302f10ed529e05ad662281ed34607e6f54 (diff)
downloaddocker-meteor-f9ec4da3f4c3c14e3ab56c8d36994fe939c4422c.tar.xz
docker-meteor-f9ec4da3f4c3c14e3ab56c8d36994fe939c4422c.zip
Add Travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c4b3a77
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: generic
+sudo: required
+os: linux
+
+services:
+ - docker
+
+notifications:
+ email:
+ - "info@valentineus.link"
+
+env:
+ - "IMAGE=./default/1.6"
+ - "IMAGE=./default/1.5"
+ - "IMAGE=./default/1.4"
+ - "IMAGE=./build/1.6"
+ - "IMAGE=./build/1.5"
+ - "IMAGE=./build/1.4"
+
+script:
+ - docker build --tag "${TRAVIS_REPO_SLUG}" "${IMAGE}"
+
+jobs:
+ include:
+ - stage: deploy
+ deploy:
+ provider: script
+ script:
+ - curl --header "Content-Type: application/json" --data "{\"build\": true}" --request "POST" "https://registry.hub.docker.com/u/valentineus/meteor/trigger/${TOKEN}/" \ No newline at end of file