.travis.yml 1.26 KB
Newer Older
1 2
language: cpp
compiler:
3
  #- gcc # Avoid gcc because it exhausts travis VM memory
4
  - clang
5 6

before_install:
7 8
   # Add PPA for recent boost libraries
 - sudo add-apt-repository --yes ppa:boost-latest/ppa
9
 - sudo add-apt-repository --yes ppa:dcthomp/smtk
10 11 12 13
   # Make sure package index is up to date:
 - sudo apt-get -qq update

install:
David Thompson's avatar
David Thompson committed
14 15
   # Remove cmake-data package as it interferes with SMTK PPA cmake package:
 - sudo dpkg -r cmake cmake-data
16
   # Install build tools:
17
 - sudo apt-get install -yqq git cmake ninja-build ccache python-dev texlive-extra-utils doxygen graphviz
18
 - sudo apt-get install -yqq libboost1.54-dev libboost-filesystem1.54-dev libboost-system1.54-dev
19 20
   # Install Qt devel stuff:
 - sudo apt-get install -yqq libqt4-dev libqt4-opengl-dev libqtwebkit-dev qt4-dev-tools
21 22
   # Install mesa OpenGL driver
 - sudo apt-get install libgl1-mesa-dri
23
   # Install opencascade
24
 - sudo apt-get install -yqq oce-dev cgm-dev
25 26 27 28 29 30 31
   # Install python packages via pip
 - sudo pip install -r ${TRAVIS_BUILD_DIR}/doc/requirements/dev.txt
   # Set user/email so any tests we might have for developers pass
 - git config --global user.email "travis@travis-ci.org"
 - git config --global user.name "Travis CI"

script:
32
 - xvfb-run -s "-screen 0 1024x768x16" ${TRAVIS_BUILD_DIR}/.travis.build.sh