Commit 2197532f authored by vibraphone's avatar vibraphone Committed by David Thompson

Remove gcc build; try adding shiboken.

parent e0acc832
language: cpp
compiler:
- gcc
#- gcc # Avoid gcc because it exhausts travis VM memory
- clang
before_install:
......@@ -25,7 +25,7 @@ install:
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
# Now build and/or install deps for which there is no package
- mkdir -p ~/smtk-deps/{cgm,cmake}
- mkdir -p ~/smtk-deps/{cgm,cmake,shiboken}
# Download a new cmake since Ubuntu's is horribly old.
- cd ~/smtk-deps/cmake
- wget -q "http://www.cmake.org/files/v3.1/cmake-3.1.0-Linux-x86_64.tar.gz"
......@@ -39,10 +39,16 @@ install:
#- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" -DCGM_OCC:BOOL=ON "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/cgm/install" ../src
- ninja -j2 install
- cd ~/smtk-deps/shiboken
- git clone https://github.com/OpenGeoscience/shiboken.git src
- mkdir build
- cd build
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo "-DCMAKE_CXX_FLAGS:STRING=-fPIC" "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-deps/shiboken/install" ../src
- ninja -j2 install
script:
- mkdir ~/smtk-build && cd ~/smtk-build
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja "-DSITE:STRING=travis-ci.org" "-DBUILDNAME:STRING=${TRAVIS_OS_NAME}-${CC}-Job.${TRAVIS_JOB_NUMBER}" -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DBUILD_SHARED_LIBS:BOOL=ON -DSMTK_BUILD_QT:BOOL=ON -DSMTK_ENABLE_DOCUMENTATION:BOOL=ON -DSMTK_ENABLE_TESTING:BOOL=ON -DSMTK_BUILD_CGMA:BOOL=ON -DCGM_CFG:FILEPATH=${HOME}/smtk-deps/cgm/install/include/cgm.make -DSMTK_NO_SYSTEM_BOOST:BOOL=OFF "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-install" ${TRAVIS_BUILD_DIR}
- ~/smtk-deps/cmake/install/bin/cmake -G Ninja "-DSITE:STRING=travis-ci.org" "-DBUILDNAME:STRING=${TRAVIS_OS_NAME}-${CC}-Job.${TRAVIS_JOB_NUMBER}-SMTK" -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DBUILD_SHARED_LIBS:BOOL=ON -DSMTK_BUILD_QT:BOOL=ON -DSMTK_ENABLE_DOCUMENTATION:BOOL=ON -DSMTK_ENABLE_TESTING:BOOL=ON -DSMTK_BUILD_CGMA:BOOL=ON -DCGM_CFG:FILEPATH=${HOME}/smtk-deps/cgm/install/include/cgm.make -DSMTK_NO_SYSTEM_BOOST:BOOL=OFF "-DCMAKE_INSTALL_PREFIX=${HOME}/smtk-install" ${TRAVIS_BUILD_DIR}
- ninja ExperimentalStart
- ninja ExperimentalConfigure
- ninja ExperimentalBuild
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment