This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (43 loc) · 3.56 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: node_js
sudo: required
services:
- docker
node_js:
- lts/*
before_install:
- docker pull nginx:alpine
- yarn global add bower
install:
- bower install
- yarn install
script:
- yarn test
- yarn build
deploy:
provider: cloudfoundry
username: sabithksme@gmail.com
password:
secure: T6JaO6u5kXcNQVJRXGfSyqUf7ztSj/dUBq+/lM1BTINssKNfW9d4ldZMDOculoQ8XGegRYaACUMY7akYOyTGOinbCi547sbsSnMTAaTLfoECaU6uaUcvlzHDKZtOUwB5WrU2ftK5n9BzSMgt9DKJffnnquQcMR5leN7kfwib9QqK15A2hIkuQSYw5OTv6gVRieEk//m8JWiibggfYW06tmspvpFFLZXZc2aMc8fhuGNV8cyfJbjundTZZab28p5VL7XryhjewXujhdFr2+jX6Sc4ExO3OVdrUxIfxO2nJxmh50WYv0s0NsVDsgUdNJKnzoqTaLUfZ+tpvQEPNgjvJ7e1Tqs10vOaFPWDnSpwPGBZY3i6tP68ENKQaumQUujhlKuqLiBNS0Z+xmHrQmx8yGYSNruEQSGDjx9h6QmHx34b7JwfX69oPWZgJ+J6asdeZGHR6DORLJ7aMVK74D+0mLmjg43BzGLv/PF7ZABTkoeEQSLaFPqOnGbnSBEManWKaCb+V9RQoG6ulxB6Y9DrhWAIGyeIq3x3LSkK5np64TOFJPmjtOcInBK1Mcm6X5ZAZ5V9BGxp1Gs2SryJn2dATVRlvmOVro276aIcd3S1Mgr8xPLlyyG0ihr/e5QrMROFbpR3xhhzqvbq4m/hFz5RUUQzSAkKvHjX2u8K/+yBnKE=
api: https://api.system.aws-usw02-pr.ice.predix.io
organization: sks
space: dev
on:
branch: master
after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=$DOCKER_USER/predix-seed
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build -f Dockerfile -t $REPO:$COMMIT .
- docker tag $REPO:$COMMIT $REPO
- docker push $REPO:$COMMIT
- docker push $REPO:$TAG
cache:
yarn: true
directories:
- node_modules
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
- secure: JCNcapH4fTfqlPVetwonQntRd1XEUDtU15ulNUatpyJTOxGZOAEWEyreEYJOfdSgmaTM5AStc4FZntJEBTXE9W26+s7r9W7qmHrixvOeo2MRMw9UWk7H6edtXeVHuhr8KWzFqKbrALN6kqn5SLWsde2raHFlPySpTtcUkhi1JZyL6foj7UJWM4WYIgd+xYD4guUWqWnDj+Yfc495g/e4bUpMT0mw1ygg+19xXt9M0p7GTFoiuS0lbDFRo+u/EMwdajHMtb4bKcPkVq9NrHhDHJ3G2vLdEV12a+0MfzgFxjRmdqCu0BCF3rLVkJJU/KwI171FGn5qIHz2Rk3GbmGQuvVdZi2nJ8GdjNEs8Vt8aTvnKZ1OM2pMdD1sW1Qrzl41+P2f+/Yujee4jBo2ntOLZ/EYvoCbs+vhcbQ5T/qcqM6pFdlifCoqMMUzQycdfpBHXjTjnnq9cC1Aw/an88Y5o8yEkpiNTGkGrAXYfi4pCDiUaRPE/P9MHfXQys0YLe0kpg1RAIhrQBb9mmvKhYlnbaEylWoxgNoOTPe2YXEiuLMu2mhNhVnQaLBbfxPS7ckeJvT4dtouFCGM5JVQoXjaYfwSY46v+XiCi6m6lC51Ixv1zY+Lg7wMOTeR7fe8nXoHjUlKkY3p/XyR/UnLOnnSN/POKb9nwao1EXu/tT7VaNk=
- secure: IQ+dJqNnpU3Mj0CWvt/Cnab51+aKV2ErEea9x7V2VksYivIEbjorP5Y+kRAPGCJ4j0uefdQkcpyxM7Vw2bTAvOkUxUSyo2tsYvtesbzmUzizVEPh+jXxqY0PkskSvsbw84y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