Sample program of SAKURA Internet IoT Communication Module

Dependencies:   SakuraIO mbed

View the Github repository.

Files at this revision

API Documentation at this revision

Comitter:
chibiegg
Date:
Sun Feb 25 04:29:20 2018 +0900
Parent:
11:7a8ac571c8ad
Child:
13:2befc704b349
Commit message:
Travis CI

Changed in this revision

.gitignore Show annotated file Show diff for this revision Revisions of this file
.travis.yml Show annotated file Show diff for this revision Revisions of this file
travis.sh Show annotated file Show diff for this revision Revisions of this file
travis/Dockerfile Show annotated file Show diff for this revision Revisions of this file
travis/docker-compose.yml Show annotated file Show diff for this revision Revisions of this file
--- a/.gitignore	Sun Feb 25 03:56:21 2018 +0900
+++ b/.gitignore	Sun Feb 25 04:29:20 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:29:20 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:29:20 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:29:20 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:29:20 2018 +0900
@@ -0,0 +1,7 @@
+version: '2'
+services:
+  mbed-cli:
+    container_name: mbed-cli
+    build: ./
+    volumes:
+      - ../:/target