Add Travis CI
This commit is contained in:
parent
7f34aa302f
commit
f9ec4da3f4
29
.travis.yml
Normal file
29
.travis.yml
Normal file
@ -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}/"
|
Loading…
x
Reference in New Issue
Block a user