.travis.yml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. language: cpp
  2. compiler:
  3. - gcc
  4. branches:
  5. only:
  6. - travis-ci
  7. env: DISPLAY=:9 LD_LIBRARY_PATH=/tmp/CTK-Superbuild-Release-experimental/CMakeExternals/Install/lib
  8. before_install:
  9. - sudo add-apt-repository ppa:kalakris/cmake -y
  10. - sudo apt-get update -qq
  11. - sudo apt-get install -y cmake chrpath
  12. - sudo apt-get install -y libqt4-dev qt4-dev-tools python-dev libvtk5-dev
  13. - sudo apt-get install -y xpra xserver-xorg-video-dummy
  14. before_script: xpra --xvfb="Xorg +extension GLX -config `pwd`/Applications/Testing/dummy.xorg.conf -logfile ${HOME}/.xpra/xorg.log" start :9
  15. script: ctest -V -S ./CMake/ctkTravisDashboardScript.cmake
  16. after_script:
  17. - xpra stop :9
  18. - ldd -r /tmp/CTK-Superbuild-Release-experimental/CMakeExternals/Install/bin/storescu
  19. - ls -l /tmp/CTK-Superbuild-Release-experimental/CMakeExternals/Install/lib
  20. - chrpath -l /tmp/CTK-Superbuild-Release-experimental/CMakeExternals/Install/bin/storescu
  21. - cat /tmp/CTK-Superbuild-Release-experimental/DCMTK-build/dcmnet/apps/cmake_install.cmake
  22. - cat /tmp/CTK-Superbuild-Release-experimental/DCMTK-build/CMakeCache.txt
  23. - "cat ~/.xpra/*"