diff options
-rw-r--r-- | .travis.yml | 29 |
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 |