SAKURA Internet
/
SakuraIO_Standard
Sample program of SAKURA Internet IoT Communication Module
View the Github repository.
Revision 13:2befc704b349, committed 2018-02-25
- Comitter:
- chibiegg
- Date:
- Sun Feb 25 04:42:27 2018 +0900
- Parent:
- 11:7a8ac571c8ad
- Parent:
- 12:ba049d7b931e
- Commit message:
- Merge pull request #5 from sakuraio/feat/travisci
Travis CI
Changed in this revision
--- a/.gitignore Sun Feb 25 03:56:21 2018 +0900 +++ b/.gitignore Sun Feb 25 04:42:27 2018 +0900 @@ -1,1 +1,3 @@ .temp/ +mbed/ +SakuraIO/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.travis.yml Sun Feb 25 04:42:27 2018 +0900 @@ -0,0 +1,19 @@ +sudo: required + +services: + - docker + +env: + - DOCKER_COMPOSE_VERSION=1.19.0 + +before_install: + - sudo apt-get update + - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce + - sudo rm /usr/local/bin/docker-compose + - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose + - chmod +x docker-compose + - sudo mv docker-compose /usr/local/bin + - docker-compose -f travis/docker-compose.yml up -d + +script: + - docker-compose -f travis/docker-compose.yml exec mbed-cli ./travis.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/travis.sh Sun Feb 25 04:42:27 2018 +0900 @@ -0,0 +1,8 @@ +#!/bin/bash + +TARGET=NUCLEO_F401RE + +mbed-cli deploy +mbed compile -m ${TARGET} -t GCC_ARM + +exit $?
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/travis/Dockerfile Sun Feb 25 04:42:27 2018 +0900 @@ -0,0 +1,5 @@ +FROM chibiegg/mbed-cli + +WORKDIR /target + +CMD ["/sbin/init"]
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/travis/docker-compose.yml Sun Feb 25 04:42:27 2018 +0900 @@ -0,0 +1,7 @@ +version: '2' +services: + mbed-cli: + container_name: mbed-cli + build: ./ + volumes: + - ../:/target