diff --git a/.travis.yml b/.travis.yml index 95e977ae4d..b0f2279fbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ compiler: - clang - gcc before_install: + - ./scripts/clint.sh - sudo ./scripts/travis-setup.sh script: - ./scripts/travis.sh diff --git a/clint-files.txt b/clint-files.txt new file mode 100644 index 0000000000..e76997798a --- /dev/null +++ b/clint-files.txt @@ -0,0 +1,2 @@ +src/os/job.c +src/os/job.h diff --git a/scripts/clint.sh b/scripts/clint.sh new file mode 100755 index 0000000000..1453411e1c --- /dev/null +++ b/scripts/clint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +for file in $(cat clint-files.txt); do + ./clint.py $file +done