forked from freeCodeCamp/pantry-for-good
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
19 lines (19 loc) · 1.78 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sudo: required
language: node_js
node_js:
- "6"
services:
- mongodb
- docker
after_success:
- if [ -z "$TRAVIS_TAG" ]; then exit 0; fi
- export REPO=quay.io/painejs/pantry-for-good
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin quay.io
- docker build -t $REPO .
- docker tag $REPO $REPO:latest
- docker tag $REPO $REPO:$TRAVIS_TAG
- docker push $REPO
env:
global:
- secure: "aPT+4y77QUj02JeuPwu9hY4SRk9b7pwM+qAqAMcEusUZvCHvf++WrAn5dPohfQZWZI3gmLc0QM8ubFGCyFg0QfeKBRsZ+GKdryw7RUNNE1dEojHW//oqskZTnQj0ER0jhnghAUiSBmQsAgeO6mS+h9pEF0QqdFfDjApBkzA62rRyRIU7gR2gn0QIdBahR9n1/lWPAIBnWfTOls9H3PLTgEDdOx+awVaXQE7mI/DCqwMXdRRkrbL0OGV8dRzXDZCMpBB2YFfQrWLV8GbQyQUauzrVU6IJQhE52anz3NhCRZrCrx7k9X2Y+K+E/sapuAa5f5A1rHosfbyMj6H6fopL9pIUH+e2bvvcJYFPVwafy+o9cbEaIYfDW/fuDigryJa0zj2iMZvKOVjgAg8kEmsSfUJHN4eay3KerQd4CoL3uKQK0TTnKlk4FYuawx98rmiaEPnJQRWZutqICkk+liV/+4anv2DfvFEtromWTKGF//PpTQVfR4LAxiI5RXawRP1Kp516uFdjOBxH1qrv+TxIldqqu8cNiXfH9YdGF70tguZsYMlDgqXbkErHF+k51a8++YxZ30N/KEFJ2xa+k51hGUTuu0pCcLhDGMTfGDYRuFxSo7ki3xlCG5gtA0pCm2VUhygymXZPGB37Gd5HhMOgw0KsQSkqCoNf6QkMCJY+Ax0="
- secure: "P7xIH4KRzw/1K8EiD8mS61n7Xy5PKrKcmZgLP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