-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (24 loc) · 1.27 KB
/
.travis.yml
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
language: node_js
node_jy:
- '10.0'
dist: trusty
sudo: required
services:
- docker
notifications:
email: false
slack:
on_success: always
on_failure: always
secure: Yc4UTNmINFGCeRKl52lFVPFPOshGtA95mfy+KWxhG/mhyIIgrkHun+LVpwR+A4jrD3gW0PrA0O23UBTmmdkWg8kbWGhuiJfaoguNOZczOFXh2lnlKfBX3mqe/v9t7wNFArNoftAxVz0j/VTkoEuJfTX/AoSMHZ3HxI9lWavZMybFCw6o7DtUEaSSbRd5B+mPzTIrUrOanXz22jP9VeigpX2DwhfFJhPYS4xfFZ31/yxkUl4u41JdMpP+lK+wLbMN0okJaGHXon/iqXiwvUZsHlLVlMUG8OQiBvVTrDCSt0BZMkYsxlKBwveJiSWo1b/WYyGRIamWtjgYY6crTT16Zns2lPx7pYZte2iww/xQvZuQ29t7wRqWFqvpOO2nK1vtZsMCk1fjIK1FBvhd/eaRdjvmpEqSDbAYgphtf7CBuftnSk3p0zw8tHjTJ32gym3JGnP8rFLqwplz5wJc6pgmfCrWOrfF2QEYH2x7FlgiEadr4Ckx5cKbo/OCx7sRUGXhKShqSFh9bAD1niXhyPrUCDo6c9MOv73zyLtc4QquB8dSD2veCok/TMPw53N6ggS3lSItxcaZXchYWQUd1SuGSs+zaDnOJ4qTmFDlxFJKOxFzTia6Wx0oG2naG5mqZeX7rNMztw3w43Qoy3C9djx9e62wnOvjSlT8kD8cv+xiXEk=
jobs:
include:
- stage: build docker image
script:
- |
docker login -u $DOCKER_AZURE_USER -p $DOCKER_AZURE_PASS $DOCKER_REPO_AZURE && \
docker build -t $DOCKER_REPO_AZURE/breakout-mailer:$(basename $TRAVIS_BRANCH) . && \
docker push $DOCKER_REPO_AZURE/breakout-mailer:$(basename $TRAVIS_BRANCH) && \
rm "/home/${USER}/.docker/config.json"
stages:
- build docker image