提交 7b578a4c 编写于 作者: D deepak1556

fix condition

上级 864a4032
...@@ -78,12 +78,11 @@ steps: ...@@ -78,12 +78,11 @@ steps:
- script: | - script: |
set -e set -e
if [ -z "$CC" || -z "$CXX" ] if [ -z "$CC" ] || [ -z "$CXX" ]
then then
export CC=$(which gcc-5) export CC=$(which gcc-5)
export CXX=$(which g++-5) export CXX=$(which g++-5)
fi fi
echo $CXX
export npm_config_arch=$(NPM_ARCH) export npm_config_arch=$(NPM_ARCH)
export CHILD_CONCURRENCY="1" export CHILD_CONCURRENCY="1"
for i in {1..3}; do # try 3 times, for Terrapin for i in {1..3}; do # try 3 times, for Terrapin
......
...@@ -72,7 +72,7 @@ steps: ...@@ -72,7 +72,7 @@ steps:
- script: | - script: |
set -e set -e
if [ -z "$CC" || -z "$CXX" ] if [ -z "$CC" ] || [ -z "$CXX" ]
then then
export CC=$(which gcc-5) export CC=$(which gcc-5)
export CXX=$(which g++-5) export CXX=$(which g++-5)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册