diff options
| author | 2019-07-22 19:40:52 +0200 | |
|---|---|---|
| committer | 2019-07-23 08:49:41 +0200 | |
| commit | f5a93e32b4e024d944f58d566f97bc35104410f8 (patch) | |
| tree | a515f0aa57eaf51218e91f272ee5d7bf6cb83f35 /.travis.yml | |
| parent | ad92518fe44279b69308aaf0a757469f5bf42910 (diff) | |
[CI] Run hadolint
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 ee510ee84..b5682ace7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,10 +43,14 @@ matrix: - "node" php: # none + env: + - HADOLINT="$HOME/hadolint" install: - npm install jshint + - curl -sLo "$HADOLINT" $(curl -s https://api.github.com/repos/hadolint/hadolint/releases/latest?access_token="$GITHUB_TOKEN" | jq -r '.assets | .[] | select(.name=="hadolint-Linux-x86_64") | .browser_download_url') && chmod 700 ${HADOLINT} script: - node_modules/jshint/bin/jshint . + - git ls-files --exclude='*Dockerfile*' --ignored | xargs --max-lines=1 "$HADOLINT" allow_failures: - env: CHECK_TRANSLATION=yes VALIDATE_STANDARD=no - dist: precise |
