Skip to content

Commit

Permalink
Merge pull request #36 from adafruit/actionci
Browse files Browse the repository at this point in the history
actionified, formatted and doxy'd
  • Loading branch information
siddacious authored Mar 26, 2020
2 parents ca26546 + 2b42986 commit 556e208
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 31 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Arduino Library CI

on: [pull_request, push, repository_dispatch]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: adafruit/ci-arduino
path: ci

- name: pre-install
run: bash ci/actions_install.sh

- name: test platforms
run: python3 ci/build_platform.py main_platforms

- name: clang
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .

- name: doxygen
env:
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
PRETTYNAME : "Adafruit TCS34725 Library"
run: bash ci/doxy_gen_and_deploy.sh
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Adafruit_TCS34725.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ uint16_t Adafruit_TCS34725::calculateColorTemperature_dn40(uint16_t r,
uint16_t b,
uint16_t c) {
uint16_t r2, b2; /* RGB values minus IR component */
uint16_t sat; /* Digital saturation level */
uint16_t ir; /* Inferred IR content */
uint16_t sat; /* Digital saturation level */
uint16_t ir; /* Inferred IR content */

if (c == 0) {
return 0;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Adafruit TCS34725 Color Sensor Driver [![Build Status](https://travis-ci.com/adafruit/Adafruit_TCS34725.svg?branch=master)](https://travis-ci.com/adafruit/Adafruit_TCS34725)
# Adafruit TCS34725 Color Sensor Driver[![Build Status](https://github.com/adafruit/Adafruit_TCS34725/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit_TCS34725/actions)

<a href="https://www.adafruit.com/product/1334"><img src="assets/board.jpg?raw=true" width="500px"></a>

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit TCS34725
version=1.3.1
version=1.3.2
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Driver for Adafruit's TCS34725 RGB Color Sensor Breakout
Expand Down

0 comments on commit 556e208

Please sign in to comment.