forked from CauldronDevelopmentLLC/CAMotics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (51 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: cpp
compiler: gcc
dist: trusty
sudo: required
env:
global:
- CBANG_HOME=$PWD/cbang
- CHAKRA_CORE_HOME=$PWD/ChakraCore
matrix:
- DEBUG_BUILD=1
- DEBUG_BUILD=0
install:
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- echo deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main |
sudo tee -a /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install -y qt4-dev-tools libunwind8-dev clang-3.8
- sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang
- sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
before_script:
- git clone --depth=1 https://github.com/CauldronDevelopmentLLC/ChakraCore.git
- git clone --depth=1 https://github.com/CauldronDevelopmentLLC/cbang.git
script:
- cd ChakraCore
- ./build.sh --static -j 8
- mkdir tmp
- cd tmp
- for i in $(find ../Build* -name \*.a); do ar x $i; done
- ar rcs ../libChakraCore.a *.o
- cd ../..
- scons -C cbang debug=$DEBUG_BUILD -j 8
- scons debug=$DEBUG_BUILD -j 8
addons:
apt:
packages:
- git
- scons
- libbz2-dev
- zlib1g-dev
- libexpat1-dev
- libboost-iostreams-dev
- libboost-system-dev
- libboost-filesystem-dev
- libboost-regex-dev
- libsqlite3-dev
- libicu-dev
- libqt4-dev
- libqt4-opengl-dev
- libcairo2-dev
- libfreetype6-dev
- libv8-dev