fix/ci: command typo & syntax error

Anankke_dev
SukkaW 7 years ago
parent 0a0a861f37
commit c56872162b

@ -52,7 +52,7 @@ install:
- npm i
- cd ..
- if [[ ! -n "$(git log -1 --pretty=%B | grep 'skip lint')" ]]; then
cd test && git vlonr https://github.com/erunion/smarty-lint && cd .. ;
cd test && git clone https://github.com/erunion/smarty-lint && cd .. ;
fi
before_script:
- cd uim-index-dev
@ -66,7 +66,7 @@ before_script:
fi
- chmod +x ./test/listTpl.sh
- if [[ ! -n "$(git log -1 --pretty=%B | grep 'skip lint')" ]]; then
./test/listTpl.sh
./test/listTpl.sh;
fi
script:
- cp config/.config.example.php config/.config.php

@ -6,5 +6,5 @@ do
echo '--------------------------------------------------'
echo $LINE
echo '--------------------------------------------------'
./test/smart-lint/smart-lint "$LINE" y
./test/smarty-lint/smarty-lint "$LINE" y
done < ./test/tpl_files.txt

Loading…
Cancel
Save