First cut at 0.17 build matrix - move linux to trusty dist with clang

This commit is contained in:
Bruce B. Lacey 2016-04-10 16:13:54 -07:00
parent 8aaae0ba22
commit 0eaf34ce18

View File

@ -16,19 +16,28 @@
## ##
env: env:
global: global:
- FREECAD_RELEASE="0.16" - FREECAD_RELEASE="0.17"
- DEPLOY_RELEASE=${DEPLOY_RELEASE:-$FREECAD_RELEASE} - DEPLOY_RELEASE=${DEPLOY_RELEASE:-$FREECAD_RELEASE}
- CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} - CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
- OSX_PORTS_CACHE=${OSX_PORTS_CACHE:-FreeCAD/FreeCAD-ports-cache} - OSX_PORTS_CACHE=${OSX_PORTS_CACHE:-FreeCAD/FreeCAD-ports-cache}
os: language: cpp
- linux
- osx matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: clang
- os: osx
osx_image: beta-xcode6.2
compiler: clang
exclude:
- os: linux
dist: precise
git: git:
depth: 800 depth: 200
language: cpp
before_install: before_install:
- eval "$(curl -fsSL "https://raw.githubusercontent.com/${OSX_PORTS_CACHE}/v${FREECAD_RELEASE}/travis-helpers.sh")" - eval "$(curl -fsSL "https://raw.githubusercontent.com/${OSX_PORTS_CACHE}/v${FREECAD_RELEASE}/travis-helpers.sh")"
@ -37,48 +46,46 @@ before_install:
"linux") "linux")
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get install -y doxygen \ sudo apt-get install -y doxygen \
libboost-dev \ libboost1.55-dev \
libboost-filesystem-dev \ libboost-filesystem1.55-dev \
libboost-program-options-dev \ libboost-program-options1.55-dev \
libboost-python-dev \ libboost-python1.55-dev \
libboost-regex-dev \ libboost-regex1.55-dev \
libboost-signals-dev \ libboost-signals1.55-dev \
libboost-system-dev \ libboost-system1.55-dev \
libboost-thread-dev \ libboost-thread1.55-dev \
libcoin60 \ libcoin80 \
libcoin60-dev \ libcoin80-dev \
libeigen3-dev \ libeigen3-dev \
liboce-foundation-dev \ liboce-foundation-dev \
liboce-foundation1 \ liboce-modeling-dev \
liboce-modeling-dev \ liboce-ocaf-dev \
liboce-modeling1 \ liboce-ocaf-lite-dev \
liboce-ocaf-dev \ liboce-visualization-dev \
liboce-ocaf-lite-dev \ libpyside-dev \
liboce-ocaf-lite1 \ libqtcore4 \
liboce-ocaf1 \ libshiboken-dev \
liboce-visualization-dev \ libxerces-c-dev \
liboce-visualization1 \ libxmu-dev \
libopencascade-modeling-6.5.0 \ libxmu-headers \
libpyside-dev \ libxmu6 \
libqtcore4 \ libxmuu-dev \
libshiboken-dev \ libxmuu1 \
libxerces-c-dev \ oce-draw \
libxmu-dev \ pyside-tools \
libxmu-headers \ python-dev \
libxmu6 \ python-pyside \
libxmuu-dev \ python-matplotlib \
libxmuu1 \ qt4-dev-tools \
oce-draw \ qt4-qmake \
pyside-tools \ shiboken \
python-dev \
python-pyside \
python-matplotlib \
qt4-dev-tools \
qt4-qmake \
shiboken \
swig swig
#Temporary hack - remove older Python (find a supported way to do this)
sudo rm -rf /opt/python/2.6.9
sudo rm -rf /opt/python/2.7.10
#Patch the system - there is a bug related to invalid location of libs on ubuntu 12.04 #Patch the system - there is a bug related to invalid location of libs on ubuntu 12.04
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/i386-linux-gnu sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/i386-linux-gnu
export DISPLAY=:99.0 export DISPLAY=:99.0