diff options
author | Karl Ostmo <kostmo@gmail.com> | 2019-04-15 12:26:50 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-04-15 12:48:52 -0700 |
commit | 00148825fc35ddada2cfc59a30d904e0d8cace7c (patch) | |
tree | 39da0382b96d5610a19eb5bfd8ac9f8637c87652 /.travis.yml | |
parent | a0263ec04765fb9b20decc178241d2668ea58cee (diff) | |
download | pytorch-00148825fc35ddada2cfc59a30d904e0d8cace7c.tar.gz pytorch-00148825fc35ddada2cfc59a30d904e0d8cace7c.tar.bz2 pytorch-00148825fc35ddada2cfc59a30d904e0d8cace7c.zip |
Run shellcheck on Jenkins scripts (#18874)
Summary:
closes #18873
Doesn't fail the build on warnings yet.
Also fix most severe shellcheck warnings
Limited to `.jenkins/pytorch/` at this time
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18874
Differential Revision: D14936165
Pulled By: kostmo
fbshipit-source-id: 1ee335695e54fe6c387ef0f6606ea7011dad0fd4
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index beb0d69545..75c2a28692 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,10 @@ matrix: python: "3.6" dist: xenial script: cd .circleci && ./ensure-consistency.py + - name: "Shellcheck Jenkins scripts" + dist: xenial + install: sudo apt-get install -y shellcheck + script: .jenkins/run-shellcheck.sh - name: "Ensure no tabs" python: "2.7" script: |