aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml21
1 files changed, 11 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 1c21283..b03ba13 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,19 +9,20 @@ 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}"
+ 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}"
- 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}/'" \ No newline at end of file
+ script:
+ - "curl -H 'Content-Type: application/json' --data '{\"build\":true}' -X POST 'https://registry.hub.docker.com/u/valentineus/meteor/trigger/${TOKEN}/'" \ No newline at end of file