Don't use multiline strings for commands on Travis CI

Commands would otherwise fail silently.
master
Hugo Locurcio 2019-02-27 10:07:35 +01:00
parent b0f47dc7e7
commit f16bc3e380
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 .