Add .travis.yml for CI env
authordaesung <daesung87.an@samsung.com>
Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)
committerdaesung <daesung87.an@samsung.com>
Thu, 29 Jun 2017 05:27:59 +0000 (22:27 -0700)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..e95d071
--- /dev/null
@@ -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