Split travis file into helper scripts. Added OSX build.

* Setup and helper script per build target, currently: docs, linux & osx.
This commit is contained in:
Jake Turner
2017-01-03 05:58:56 +00:00
committed by Baldur Karlsson
parent 0d52eeed35
commit d7f8a0236f
7 changed files with 47 additions and 25 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
#cd docs/ && make html
+3
View File
@@ -0,0 +1,3 @@
#!//bin/sh
sudo pip install --upgrade pip setuptools
sudo pip install Sphinx sphinx-rtd-theme
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
. /opt/qt56/bin/qt56-env.sh
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
sudo add-apt-repository -y 'ppa:ubuntu-toolchain-r/test'
sudo add-apt-repository -y 'ppa:beineri/opt-qt562-trusty'
sudo add-apt-repository -y 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.8 main'
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get install --allow-unauthenticated -y -qq libx11-dev mesa-common-dev libgl1-mesa-dev qt56base qt56x11extras libxcb-keysyms1-dev gdb clang-format-3.8
clang-format-3.8 -i -style=file $(find pdblocate/ qrenderdoc/ renderdoc/ renderdoccmd/ renderdocshim/ -type f -regex '.*\(/3rdparty/\|/official/\|resource.h\).*' -prune -o -regex '.*\.\(c\|cpp\|h\)$' -print)
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
brew install qt5
brew link qt5 --force