aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: dd1f383bac282bf03cdef280617077a2195ef4fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 -H 'Content-Type: application/json' --data '{\"build\":true}' -X POST 'https://registry.hub.docker.com/u/valentineus/meteor/trigger/${TOKEN}/'"