Skip to content

Commit

Permalink
add issue templates and CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
photodude committed Dec 7, 2019
1 parent 9b9cff5 commit fafe717
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Test build the arduino library with Travis CI and PlatformIO
language: python
# Force Python 2.7 until platformio is compatable with Python 3
python:
- "2.7"

# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"

matrix:
fast_finish: true
include:
- env: BOARD=megaatmega2560
- env: BOARD=due
- env: BOARD=leonardo
- env: BOARD=uno
allow_failures:
- env: BOARD=due
- env: BOARD=leonardo

install:
- pip install -U platformio
- platformio lib install https://github.com/photodude/G2MotorDriver


# library example testing
script:
#- set -eo pipefail;
#for e in examples/*; do
# platformio ci --board=$BOARD --lib=. $e/*;
#done
platformio ci --board=$BOARD --lib="." Automotive_fan_serial.ino;

0 comments on commit fafe717

Please sign in to comment.