-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (30 loc) · 2.09 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
language: node_js
node_js:
- 8
script:
- npm run build
services:
- docker
after_success:
- echo $TRAVIS_COMMIT
- echo $TRAVIS_TAG
- echo $TRAVIS_BRANCH
- echo $TRAVIS_BUILD_NUMBER
- echo $TRAVIS_REPO_SLUG
- echo $(git rev-parse HEAD)
- echo $IMAGE_TAG
# - docker build -t kmpartner/ol-tutorial-webgl .
- docker build -t kmpartner/ol-tutorial-webgl:$IMAGE_TAG .
- docker run -d -p 127.0.0.1:80:80 --rm kmpartner/ol-tutorial-webgl:$IMAGE_TAG
- docker ps -a
- curl 127.0.0.1:80
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
# - docker push kmpartner/ol-tutorial-webgl
- docker push kmpartner/ol-tutorial-webgl:$IMAGE_TAG
env:
global:
- TRAVIS_SECURE_ENV_VARS=true
- TEST=testenv2
- IMAGE_TAG=$TRAVIS_COMMIT
- secure: eX8mxDtRsI56i40AttYY6prq1WozjQtbrH3pUZADTpKRHVBN/hGpT0OAqEPjm16znEMuTcDQDC6vubT9ifXlDsX+ce7b+vkSuhYBocXkcXNyy3faHMb7GuEurpyaEzFMw2EPXyat5JpUFxSJDu1s9Gqca/+JGbDMbkBrSlEEYS7tkLCXF8kq7oBUit8+7aI5a+227dsIf5jBzOKNgUvd+WtIiZowIwW29S7IUXH8w++TEBgHfIQT2eKvY/zKdPJvtJGApEoSSDTRsGt2ttRuaVD29Lf2L+zGaWZ33yXxrMLwC4J0DCx/YMpK2lIpiNga5Ej/tsIv0w6UX+5OkoLMHQGVWC8s8rISBylu4vh4R8Y1vqKLXDhmIjRAv20Wz9VbjmcuvPVFJTT2i1XpB9kKVDsYOguZsYnbeLvmftCHTJg7p4IfYKYbiN3R+Y900REL2H0UMLgcVm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