Browse Source

[Travis] Try compiling CMake ourselves

Sascha Zelzer 11 years ago
parent
commit
145ff310ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -17,8 +17,8 @@ before_install:
 before_script:
 before_script:
   - wget -P /tmp http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz
   - wget -P /tmp http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz
   - tar xz -C /tmp -f /tmp/cmake-2.8.9.tar.gz
   - tar xz -C /tmp -f /tmp/cmake-2.8.9.tar.gz
-  - cd /tmp/cmake-2.8.9 && configure --prefix=/usr/local
-  - cd /tmp/cmake-2.8.9 && make -j4 && make install
+  - cd /tmp/cmake-2.8.9 && ./configure --prefix=/usr/local
+  - cd /tmp/cmake-2.8.9 && make -j4 install
   - xpra --xvfb="Xorg +extension GLX -config `pwd`/Applications/Testing/dummy.xorg.conf -logfile ${HOME}/.xpra/xorg.log"  start :9
   - xpra --xvfb="Xorg +extension GLX -config `pwd`/Applications/Testing/dummy.xorg.conf -logfile ${HOME}/.xpra/xorg.log"  start :9
 
 
 script: ctest -V -S ./CMake/ctkTravisDashboardScript.cmake
 script: ctest -V -S ./CMake/ctkTravisDashboardScript.cmake