Commit cd397cb7 authored by David Thompson's avatar David Thompson

Attempt at building SMTK with Travis-CI.

parent 60a8252c
language: cpp
- gcc
- clang
#- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
#- sudo add-apt-repository --yes ppa:kubuntu-ppa/backports
# Make sure package index is up to date:
- sudo apt-get -qq update
# Install build tools:
- sudo apt-get install -yqq git cmake ninja-build ccache python-dev texlive-extra-utils
- sudo apt-get install -yqq libboost-dev doxygen
# Install Qt devel stuff:
- sudo apt-get install -yqq libqt4-dev libqt4-opengl-dev libqtwebkit-dev qt4-dev-tools
# Install opencascade
- sudo apt-get install -yqq libopencascade-dev
# 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 ""
- git config --global "Travis CI"
# Now build deps for which there is no package
- mkdir ~/smtk-deps && cd ~/smtk-deps
- mkdir -p ~/smtk-deps/cgm/build && cd ~/smtk-deps/cgm
- git clone src
- cd ~/smtk-deps/cgm/build
- cmake -G Ninja "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src && ninja
- mkdir ~/smtk-build && cd ~/smtk-build
- cmake -G Ninja ${TRAVIS_BUILD_DIR} && ninja Continuous
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment