This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ addons:
1111 - libgconf-2-4
1212
1313before_install :
14+ - mkdir -p ~/bin && curl -sSL -o ~/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x ~/bin/jq
15+ - export PATH=$PATH:~/bin
16+ - jq --version
1417 - sudo chown -R travis ./travis/install_node.sh
1518 - sudo chmod +x ./travis/install_node.sh
1619 - ./travis/install_node.sh
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ ADD web.tar.gz /root/web
66RUN npm install -g pm2 --registry=https://registry.npm.taobao.org
77RUN cd /root/web/ && npm install --registry=https://registry.npm.taobao.org
88
9+ RUN mkdir -p ~/bin && curl -sSL -o ~/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x ~/bin/jq
10+ RUN export PATH=$PATH:~/bin
11+ RUN jq --version
12+
913RUN cd /root/web/ && make build.dev
1014
1115ADD loader.sh /usr/local/bin/loader.sh
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ RUN npm install -g pm2 --registry=https://registry.npm.taobao.org
77RUN cd /root/web/ && npm install --registry=https://registry.npm.taobao.org
88RUN cd /root/web/ && npm i terser@3.14
99
10+ RUN mkdir -p ~/bin && curl -sSL -o ~/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && chmod +x ~/bin/jq
11+ RUN export PATH=$PATH:~/bin
12+ RUN jq --version
13+
1014RUN cd /root/web/ && make build.prod
1115
1216ADD loader.sh /usr/local/bin/loader.sh
You can’t perform that action at this time.
0 commit comments