Don't use multiline strings for commands on Travis CI

Commands would otherwise fail silently.
This commit is contained in:
Hugo Locurcio 2019-02-26 18:46:15 +01:00
parent 1903516aab
commit e7fc790e5a
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 7 additions and 7 deletions

View File

@ -5,11 +5,11 @@ addons:
packages:
- luarocks
before_install: |
pyenv global 3.6.3
pip3 install --user pre-commit
luarocks install --local luacheck
install:
- pyenv global 3.6.3
- pip3 install --user pre-commit
- luarocks install --local luacheck
script: |
"$HOME/.local/bin/pre-commit" run --all-files
"$HOME/.luarocks/bin/luacheck" .
script:
- $HOME/.local/bin/pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .