From ec94bbfbdf89e173802783bbbef35520e70cc9c2 Mon Sep 17 00:00:00 2001 From: daesung Date: Wed, 28 Jun 2017 22:27:59 -0700 Subject: [PATCH] Add .travis.yml for CI env --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e95d071 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +sudo: required + +language: c + +services: + - docker + +before_install: +- docker pull an4967/tizenrt:1.1 +- echo "${TRAVIS_BUILD_DIR}" + +script: +- docker run -d -it --name tizenrt_docker -v ${TRAVIS_BUILD_DIR}:/root/tizenrt -w /root/tizenrt/os an4967/tizenrt:1.1 /bin/bash +- docker exec tizenrt_docker make distclean +- docker exec -it tizenrt_docker bash -c 'cd tools; ./configure.sh artik053/nettest' +- docker exec -it tizenrt_docker bash -c 'export PATH=/root/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH;make;' \ No newline at end of file -- 2.7.4