Files
IfcOpenShell/.travis.yml
T

67 lines
2.2 KiB
YAML
Raw Normal View History

2016-08-09 14:03:26 +02:00
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
- sudo apt-get install -y libpcre3-dev
2016-08-09 14:03:26 +02:00
script:
- pwd
- cd ..
- git clone https://github.com/KhronosGroup/OpenCOLLADA.git
- cd OpenCOLLADA
- git checkout 064a60b65c2c31b94f013820856bc84fb1937cc6
- mkdir build
- cd build
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
- pwd
- cd IfcOpenShell
- pwd
2016-08-09 14:03:26 +02:00
- cd cmake
2016-11-18 12:22:02 +01:00
- mkdir build-ifc2x3 build-ifc4
- cd build-ifc2x3
- cmake -DCOLLADA_SUPPORT=True -DOPENCOLLADA_INCLUDE_DIR=/usr/local/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/usr/local/lib/opencollada -DPCRE_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUSE_IFC4=False -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu ..
2016-11-18 12:22:02 +01:00
- make -j
2017-06-05 11:29:23 +02:00
- ./examples/IfcOpenHouse
- ./examples/IfcAdvancedHouse
- test -f IfcOpenHouse.ifc
- test -f IfcAdvancedHouse.ifc
2016-11-18 12:22:02 +01:00
- cd ../build-ifc4
- cmake -DCOLLADA_SUPPORT=True -DOPENCOLLADA_INCLUDE_DIR=/usr/local/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/usr/local/lib/opencollada -DPCRE_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUSE_IFC4=True -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu ..
- make -j
2017-06-05 11:29:23 +02:00
- ./examples/IfcOpenHouse
- ./examples/IfcAdvancedHouse
- test -f IfcOpenHouse.ifc
- test -f IfcAdvancedHouse.ifc