mirror of https://github.com/fspc/workstand.git
Browse Source
* Update path. * Add hint to label. * Add shipable config. * Move. * Add docker integration. * Not needed. * Specify host. * Tag image. * add push * Try Travis. * Fix dockerfile. * Update. * Use generic language. * Only push when master.feature/python-error-tracking
Drew Larson
8 years ago
committed by
GitHub
3 changed files with 11 additions and 17 deletions
@ -0,0 +1,9 @@ |
|||||
|
language: generic |
||||
|
services: |
||||
|
- docker |
||||
|
before_install: |
||||
|
- docker build -t bcbc/workstand:production . |
||||
|
after_success: |
||||
|
- if [ "$TRAVIS_BRANCH" == "master" ]; then |
||||
|
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; |
||||
|
docker push bcbc/workstand:production; |
@ -1,15 +0,0 @@ |
|||||
# Language setting |
|
||||
language: python |
|
||||
|
|
||||
# Version number |
|
||||
python: |
|
||||
- "3.6" |
|
||||
|
|
||||
build: |
|
||||
cache: true |
|
||||
env: |
|
||||
- secure: stCGu2o9rdpGLek5SVL3d5+7XZw1aSbKV1F5c63M+xSDSvteK9B2/Qxjqc0FA5kigXAtpRdZIBp6/TrrIe3fNb6O77ATIZnIC19lAlxY9F80J5em1TkDSX8PRFoz3yuhNm/DpBYzytMjf57IQq4VlxLm3jms8hgCjMG2HeCKe9KqomUJ7hg7HBlPHnR/WqayQxnUnHkVe9MKKXxHjD2kL1Z4PFBM/fc5I5kNiJYhvmeoXPyvT8G6HKK9ZXG8Bw9OF/PtB7xI3/3ElqMEccHj+Ff66/a6rm5sMxbd2aOq8I0LTHXmONs+wsMniwcb1MIiO0Pc9sP9HbU0iGnnBrnmWA== |
|
||||
post_ci: |
|
||||
- docker commit $SHIPPABLE_CONTAINER_NAME bcbc/workstand:production |
|
||||
push: |
|
||||
- docker push drwlrsn/workstand:production |
|
Loading…
Reference in new issue