Commit 45d7691d authored by zheng liu's avatar zheng liu

Merged in deploy (pull request #5)

feat(.travis.yml): update .travis.yml
Approved-by: 's avatarzheng liu <liuzheng712@gmail.com>
parents 37e2548f d4a6aa20
before_deploy: "echo 'ready?'" language: node_js
before_install:
- echo "`date -u '+%Y-%m-%d %H:%M:%S'` Start to build Luna"
- docker pull node:latest
install:
- docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build"
script:
- docker build -t registry.fit2cloud.com/jumpserver/luna:test .
- docker push registry.fit2cloud.com/jumpserver/luna:test
after_success:
- echo "SUCCESS!"
after_failure:
- echo "FAILURE"
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