summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b8d9e6b..6f29b70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ before_install:
- sudo apt-get install -y autoconf
- sudo apt-get install -y automake
- sudo apt-get install -y libtool
- - sudo apt-get install -y m4
+ - sudo apt-get install -y m4
- sudo apt-get install -y lcov
- sudo apt-get install -y perl
- sudo apt-get install -y pkg-config
@@ -57,6 +57,12 @@ script:
echo "Don't build on coverty_scan branch.";
exit 0;
fi
+ - if [[ -n "$(find -name '*.[ch]' -executable)" ]];
+ then
+ echo "Error, a source code file(s) has the execute bit set:" >&2;
+ find -name '*.[ch]' -executable;
+ exit 1;
+ fi
- ./autogen.sh
- ./configure --prefix=/usr
- make -j4 ; sudo make install