Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwilliams committed Oct 7, 2016
0 parents commit 4673496
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
sudo: true

language: python
python:
- 2.7.11

language: node_js
node_js:
- node

addons:
apt:
sources:
- libsdl1.2debian
- libfdt1
- libpixman-1-0

before_install:
- sudo pip install virtualenv
- chmod +x ./travis/install
install: ./travis/install

before_script:
- chmod +x ./travis/build
script: ./travis/build

env:
global:
- PEBBLE_TOOL=4.4.1

branches:
only:
- master
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2016 Pebble Technology

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# concentricity (Rocky.js Edition) [![Build Status](https://travis-ci.org/pebble-examples/concentricity_js.svg?branch=master)](https://travis-ci.org/pebble-examples/concentricity_js)
This is a Rocky.js reboot of the [Concentricity](https://github.com/pebble-examples/concentricity) example watchface. It makes use of Rocky.js and Canvas APIs
`rockyFillRadial` and `fillRect`, as well as demonstrates how to use the `UnobstructedArea` API.

5 changes: 5 additions & 0 deletions travis/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e # halt script on error

# Pipe 'yes' into pebble tool to accept terms and conditions
yes | ./pebble-dev/pebble-sdk-$PEBBLE_TOOL-linux64/bin/pebble build
14 changes: 14 additions & 0 deletions travis/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e # halt script on error

mkdir pebble-dev
cd pebble-dev
curl -O https://s3.amazonaws.com/assets.getpebble.com/pebble-tool/pebble-sdk-$PEBBLE_TOOL-linux64.tar.bz2
tar -jxf pebble-sdk-$PEBBLE_TOOL-linux64.tar.bz2

cd pebble-sdk-$PEBBLE_TOOL-linux64
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
deactivate
npm install

0 comments on commit 4673496

Please sign in to comment.