forked from amd/furious.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (48 loc) · 1.63 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
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python libc6:i386 libstdc++6:i386 npm build-essential libfreeimage-dev
- git clone git://github.com/martine/ninja.git /tmp/ninja
- pushd /tmp/ninja
- git checkout release
- python configure.py --bootstrap
- export PATH=/tmp/ninja:$PATH
- export PYTHONPATH=/tmp/ninja/misc
- popd
- wget https://github.com/google/protobuf/releases/download/v2.6.0/protobuf-2.6.0.tar.gz
- tar -xzf protobuf-2.6.0.tar.gz
- pushd protobuf-2.6.0
- ./configure --prefix=/tmp/protobuf
- make
- make install
- popd
- wget https://github.com/protobuf-c/protobuf-c/releases/download/v1.0.2/protobuf-c-1.0.2.tar.gz
- tar -xzf protobuf-c-1.0.2.tar.gz
- pushd protobuf-c-1.0.2
- PKG_CONFIG_PATH=/tmp/protobuf/lib/pkgconfig ./configure --prefix=/tmp/protobuf/
- make
- make install
- export PATH=/tmp/protobuf/bin:$PATH
- popd
- wget http://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip -O /tmp/nacl_sdk.zip
- unzip /tmp/nacl_sdk.zip -d /tmp/
- /tmp/nacl_sdk/naclsdk update pepper_canary
- export NACL_SDK_ROOT=/tmp/nacl_sdk/pepper_canary
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- export PATH=$PWD/depot_tools:$PATH
- git config --global user.email "[email protected]"
- git config --global user.name "Furious.js buildbot"
- mkdir naclports
- pushd naclports
- gclient config --name=src https://chromium.googlesource.com/external/naclports.git
- gclient sync
- pushd src
- NACL_ARCH=pnacl make protobuf-c
- popd
- popd
- npm install -g grunt-cli
before_script:
- grunt
language: node_js
node_js:
- "0.11"
- "0.10"