浏览代码

[Travis] Try compiling CMake ourselves

Sascha Zelzer 11 年之前
父节点
当前提交
133686f02b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -18,7 +18,7 @@ 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 && ./configure --prefix=/usr/local
-  - cd /tmp/cmake-2.8.9 && make -j4 install
+  - cd /tmp/cmake-2.8.9 && make -j4 && sudo make 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