aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index a0be5884..123cdebc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -87,13 +87,8 @@ before_script:
- git fetch https://github.com/OP-TEE/optee_os --tags
- unset CC
- # checkpatch.pl will ignore the following paths
- - CHECKPATCH_IGNORE=$(echo core/lib/lib{fdt,tomcrypt} lib/lib{png,utils,zlib})
- - _CP_EXCL=$(for p in $CHECKPATCH_IGNORE; do echo ":(exclude)$p" ; done)
- - function _checkpatch() { $DST_KERNEL/scripts/checkpatch.pl --quiet --ignore FILE_PATH_CHANGES --ignore GERRIT_CHANGE_ID --no-tree -; }
- - function checkpatch() { printf "Checking commit:\n "; $HOME/git-2.9.3/git show --oneline --no-patch $1; $HOME/git-2.9.3/git format-patch -1 $1 --stdout -- . $_CP_EXCL | _checkpatch; }
- - function checkdiff() { echo "Checking squashed commits (diff $1...$2)"; $HOME/git-2.9.3/git diff $1...$2 -- . $_CP_EXCL | _checkpatch; }
-
+ - export PATH=$HOME/git-2.9.3/:$DST_KERNEL/scripts/:$PATH
+ - source ${HOME}/optee_repo/optee_os/scripts/checkpatch_inc.sh
# Several compilation options are checked
script:
# Run checkpatch.pl on: