]> rtime.felk.cvut.cz Git - orte.git/blobdiff - .travis.yml
travis-ci: We need newer uncrustify
[orte.git] / .travis.yml
index c3e0714a8ca6ea927c61d5a688cecd9b503616ad..f2fd23827f060fdcf37d2746b9b24ba66a720608 100644 (file)
@@ -1,7 +1,12 @@
-before_install:
-  - sudo apt-get update -qq
-  - sudo apt-get install -qq uncrustify
 language: c
+# before_install:
+#   - sudo apt-get update -qq
+#   - sudo apt-get install -qq uncrustify
+install:
+  - wget http://downloads.sourceforge.net/project/uncrustify/uncrustify/uncrustify-0.59/uncrustify-0.59.tar.gz
+  - tar -xzvf uncrustify-0.59.tar.gz
+  - ( cd uncrustify-0.59 && ./configure --prefix=$HOME/local && make && make install )
+  - export PATH=$PATH:$HOME/local/bin
 script:
   - make
   - ./orte/uncrustify && git diff --exit-code