diff --git a/.travis.yml b/.travis.yml index 6a3e97f3..e437d650 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/test/listTpl.sh b/test/listTpl.sh index 1aa982dc..0eebf8d4 100755 --- a/test/listTpl.sh +++ b/test/listTpl.sh @@ -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