forked from macchina-io/macchina.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 829 Bytes
/
.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
language: cpp
cache:
- apt
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq -y libc6-i386 libc6-dev-i386 lib32stdc++6 lib32z1
env:
global:
- TEST_NAME=""
before_script:
- echo ${TEST_NAME}
matrix:
include:
- env: TEST_NAME="gcc (host)"
compiler: gcc
language: cpp
script:
- make -s -j2
- env: TEST_NAME="arm-linux-gnueabihf-gcc (target)"
compiler: gcc
language: cpp
script:
- curl http://macchina.io/files/travis/ti-am335x-sdk.tgz >ti-am335x-sdk.tgz
- tar xfz ti-am335x-sdk.tgz
- make -s -j2 hosttools DEFAULT_TARGET=shared_release
- export PATH=$PATH:`pwd`/ti-am335x-sdk/linux-devkit/sysroots/i686-arago-linux/usr/bin; POCO_CONFIG=Arago make -s -j2 DEFAULT_TARGET=shared_release V8_NOSNAPSHOT=1