From f9ec4da3f4c3c14e3ab56c8d36994fe939c4422c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 14 Nov 2017 03:53:26 +0400 Subject: Add Travis CI --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml 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 -- cgit v1.2.3