forked from Samsung/TizenRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (36 loc) · 1.14 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
sudo: false
dist: trusty
git:
submodules: false
language: c
services:
- docker
branches:
only:
- master
- protection
env:
global:
- TIZENRT_IMG_VERSION=latest
matrix:
include:
- env: BUILD_CONFIG=artik055s/audio
- env: BUILD_CONFIG=artik053/grpc
- env: BUILD_CONFIG=artik053/st_things
- env: BUILD_CONFIG=artik053/tc
- env: BUILD_CONFIG=artik053/iotjs
- env: BUILD_CONFIG=artik053/minimal
- env: BUILD_CONFIG=qemu/tc_64k
- env: BUILD_CONFIG=qemu/build_test
- env: BUILD_CONFIG=esp_wrover_kit/hello_with_tash
- env: BUILD_CONFIG=imxrt1050-evk/tc_protected
- env: BUILD_CONFIG=imxrt1020-evk/loadable_elf_apps
before_install:
- docker pull tizenrt/tizenrt:${TIZENRT_IMG_VERSION}
- echo "${TRAVIS_BUILD_DIR}"
script:
- docker run -d -it --name tizenrt_docker -v ${TRAVIS_BUILD_DIR}:/root/tizenrt -w /root/tizenrt/os tizenrt/tizenrt:${TIZENRT_IMG_VERSION} /bin/bash
- docker exec tizenrt_docker arm-none-eabi-gcc --version
- docker exec tizenrt_docker make distclean
- docker exec -it tizenrt_docker bash -c "cd tools; ./configure.sh ${BUILD_CONFIG}"
- docker exec -it tizenrt_docker bash -c "make"