Skip to content

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ziqiaozhou committed Sep 27, 2018
1 parent 974c64d commit d762b6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ script:
- if [ -f ${CACHE}/.config ];then echo "exist .config";else make O=../build oldconfig;fi
- rm .config*
- if [[ -f ${CACHE}/touch_order.txt ]]; then
while fn in `cat ${CACHE}/touch_order.txt`; do
for fn in `cat ${CACHE}/touch_order.txt`; do
touch $fn;
done;
fi
- if [[ -f ${CACHE}/previous_git_commit.txt ]]; then
read PREVIOUS_GIT_COMMIT < ${CACHE}/previous_git_commit.txt;
changed_files=`git diff --name-only $PREVIOUS_GIT_COMMIT HEAD`;
echo ${changed_files},${#changed_files};
if [ "${#changed_files}" -gt "0" ];then
touch `echo $changed_files`;
fi
fi

- make O=../build -j$(nproc)
- make O=../build deb-pkg -j4
Expand Down

0 comments on commit d762b6b

Please sign in to comment.