aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1c2128386622c386e6af4c84489252c6f945f9b7 (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
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"

jobs:
  include:
    - stage: test
      script: docker build --tag "${TRAVIS_REPO_SLUG}" "${IMAGE}"
    - 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}/'"