From: Paul Moore <paul(a)paul-moore.com>
Unfortunately the perltidy results differ between moden distros and the
current Travis CI environment. This patch attempts to address this by
using the current upstream perltidy in the Travis CI tests.
Signed-off-by: Paul Moore <paul(a)paul-moore.com>
---
.travis.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 406f4b8..d6eeace 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,10 +6,18 @@ addons:
apt:
packages:
- astyle
- - perltidy
- python-pip
- gcc-multilib
+before_install:
+ # FYI: known good with HEAD at 8551fc60fc515cd290ba38ee8c758c1f4df52b56
+ - git clone
https://github.com/perltidy/perltidy.git perltidy
+ - |
+ (cd perltidy &&
+ perl Makefile.PL &&
+ make &&
+ sudo make install)
+
install:
- sudo pip install yapf