Commit 939d0481 by twb

Update .gitlab-ci.yml

parent 4ea29ede
Pipeline #513 failed in 0 seconds
......@@ -4,19 +4,28 @@
# you can delete this line if you're not using Docker
#image: busybox:latest
test:
stage: build
only:
- master
script:
- CI_TEST=test
- echo $CI_TEST
- echo "Do your build here"
- docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test"
# test:
# stage: build
# only:
# - master
# script:
# - CI_TEST=test
# - echo $CI_TEST
# - echo "Do your build here"
# - docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test"
# deploy:
# stage: deploy
# only:
# - master
# script:
# - echo "Do your deploy here"
deploy:
stage: deploy
only:
- master
changes:
- Dockerfile
script:
- echo "Do your deploy here"
- echo "Dockerfile changed!!!"
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