From 62b8cc94c8553895b45ce42c25081e5c8c0a5c74 Mon Sep 17 00:00:00 2001 From: an4967 Date: Fri, 30 Jun 2017 22:18:54 +0900 Subject: [PATCH] Update .travis.yml CI will build 3 configs automatically --- .travis.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e95d071..48b8f38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,16 @@ -sudo: required +sudo: false +dist: trusty +group: deprecated-2017Q2 language: c services: - - docker +- docker + +env: +- BUILD_CONFIG=tash +- BUILD_CONFIG=nettest +- BUILD_CONFIG=minimal before_install: - docker pull an4967/tizenrt:1.1 @@ -12,5 +19,5 @@ before_install: 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 +- docker exec -it tizenrt_docker bash -c "cd tools; ./configure.sh artik053/${BUILD_CONFIG}" +- docker exec -it tizenrt_docker bash -c "export PATH=/root/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH;make;" -- 2.7.4