Permalink
Browse files

Add Travis check

  • Loading branch information...
monkbroc committed Jun 20, 2017
1 parent b038667 commit 69210d9b0509b9df769722044637651037fb7c66
Showing with 27 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +11 −0 .travis.yml
  3. +1 −0 README.md
  4. +13 −0 compile_examples.sh
  5. +1 −1 library.properties
@@ -0,0 +1 @@
*.bin
@@ -0,0 +1,11 @@
language: node_js
node_js:
- 6
install:
- npm install -g particle-cli
- mkdir ~/.particle && echo '{"access_token": "$PARTICLE_TOKEN"}' > ~/.particle/particle.config.json
script:
- ./compile_examples.sh
env:
# PARTICLE_TOKEN
- secure: "4i01XfTTn/1wzPw+AJR9Ap5GEePxajRYI08nCv0GWBU01m66192pim0tERYQM8Mo79VklK/4RXxGl0ieDi5eZtu28DwKHOgJ5rN2TUjqVhFYxsspRJ0OEtmKbsghR79s/Y4JBGUOwn5aE3wbQZL10MdF/z7n2cmrg06oVLoGxxlil50gnTt+cFbdzQuCIkiXKawkJG9UOePaPv1sYYa4HwR72AC+7H4+FNVCNGSJZockyN+EiwICXjrat5CLQBuRznf2gzV0XvGNOKt658GHEyyU+9fGqE8ttO6TOXZFt8TF9/dz3O4KULti874rkGUIq5IsQyEXFR7/PWyRRd033x2nn/aSjxxRTx2IhBGGi4ryhiBnb+nBLfu4cT3onrzVf1WKlyIMUX8oiwsuDp4h9dzaTUgvoeCH9sC8Nzloy1Sd1CL4yj6llqfU6QusrdKknyE8G/r02dHY6/URtKasRcYnxe/cu6h5tYp0OwWX/3XyTy0DeCJgGkv67VPLP8SitiZ+nML0QLhUqHUj3h5k07Sp+nSyp7Sd3bSRzGcmbk9TVOUFUEp6y46f8qp7W/l7VstDKiV+lDLEvbzw80QpWN82rCq+lqTXDlNlApRmYcL+cdDow2rcJvbCZqYmKGsRAET8Cu5lXwoh4XbPujY65fSuyW+Oy3GU93UMrFIGwNU="
@@ -1,4 +1,5 @@
# [Carloop](https://www.carloop.io)
[![Build Status](https://travis-ci.org/carloop/carloop-library.svg?branch=master)](https://travis-ci.org/carloop/carloop-library)
Make apps for your car using signals from OBD-II, CAN and GPS. Publish data online using the Particle platform.
@@ -0,0 +1,13 @@
#!/bin/bash
# Compile each library example as a test
set -xe
cd `dirname $0`
PLATFORMS="photon electron"
EXAMPLES=`ls examples`
for platform in $PLATFORMS; do
for example in $EXAMPLES; do
particle --no-update-check compile $platform examples/$example
done
done
@@ -1,5 +1,5 @@
name=carloop
version=1.1.1
version=1.2.0
license=MIT
author=Julien Vanier <julien@carloop.io>
sentence=Carloop.io library for the Particle platform

0 comments on commit 69210d9

Please sign in to comment.