Commit d4a6aa20 authored by liuzheng712's avatar liuzheng712

feat(.travis.yml): update .travis.yml

parent ea898948
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