Commit e211806e by 汤文兵

yaml文件错误

parent 0402c119
Pipeline #90 passed with stages
in 15 seconds
...@@ -6,14 +6,16 @@ ...@@ -6,14 +6,16 @@
test: test:
stage: build stage: build
only: master only:
- master
script: script:
- echo "Do your build here" - echo "Do your build here"
- docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test" - docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test"
deploy: deploy:
stage: deploy stage: deploy
only: master only:
- master
script: script:
- echo "Do your deploy here" - echo "Do your deploy here"
- docker build -t koa-test:1.0 . - docker build -t koa-test:1.0 .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment