From 1e8c7ef7f0f2a07209073b2aa782c2831c6dcd06 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 9 Aug 2016 14:03:26 +0200 Subject: [PATCH] Travis --- .travis.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..cd1f20ed9f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,39 @@ +language: cpp +compiler: gcc +os: linux +dist: trusty +sudo: required + + +before_install: + - sudo apt-get update -qq + + +install: + - sudo apt-get install -qq gcc-4.8 g++-4.8 + + - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 + - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 + + - sudo apt-get install -y libboost1.55-dev + - sudo apt-get install -y libboost-regex1.55-dev + - sudo apt-get install -y libboost-system1.55-dev + - sudo apt-get install -y libboost-thread1.55-dev + - sudo apt-get install -y libboost-program-options1.55-dev + - sudo apt-get install -y cmake + - sudo apt-get install -y libicu-dev + - sudo apt-get install -y python-all-dev + - sudo apt-get install -y swig + - sudo apt-get install -y liboce-foundation-dev + - sudo apt-get install -y liboce-modeling-dev + - sudo apt-get install -y liboce-ocaf-dev + - sudo apt-get install -y liboce-visualization-dev + - sudo apt-get install -y liboce-ocaf-lite-dev + + +script: + - cd cmake + - mkdir build + - cd build + - cmake -DCOLLADA_SUPPORT=False -DUSE_IFC4=False -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu .. + - make -j2