diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..a01f5ce --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,35 @@ +name: Examples + +on: [push, pull_request] + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [ubuntu-16.04, windows-latest, macos-latest] + python-version: [2.7, 3.7] + example: + - "examples/arduino-blink" + - "examples/arduino-hid-usb-mouse" + - "examples/arduino-internal-libs" + - "examples/mbed-blink" + - "examples/mbed-dsp" + - "examples/mbed-serial" + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + with: + submodules: "recursive" + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -U https://github.com/platformio/platformio/archive/develop.zip + platformio platform install file://. + - name: Build examples + run: | + platformio run -d ${{ matrix.example }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d1d421b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -language: python -python: - - "2.7" - - "3.6" - -env: - - PLATFORMIO_PROJECT_DIR=examples/arduino-blink - - PLATFORMIO_PROJECT_DIR=examples/arduino-hid-usb-mouse - - PLATFORMIO_PROJECT_DIR=examples/arduino-internal-libs - - PLATFORMIO_PROJECT_DIR=examples/mbed-blink - - PLATFORMIO_PROJECT_DIR=examples/mbed-dsp - # - PLATFORMIO_PROJECT_DIR=examples/mbed-rtos - - PLATFORMIO_PROJECT_DIR=examples/mbed-serial - -install: - - pip install -U https://github.com/platformio/platformio/archive/develop.zip - - platformio platform install file://. - -script: - - platformio run -d $PLATFORMIO_PROJECT_DIR - -notifications: - email: false - - slack: - rooms: - secure: NKEPj9NKaysnsyfWCayez78C0ZOa2hNJ5owl+mDI+s8uDona/9I6U4kx6Pwz1CnSQuTBC2xYTGtuftev+Pn5W+zTyGgGurSKJ7SNgNlNk1ZqLj2230z5v0H3Ml5mEumNpvgJ6rNU/c9zGViHIr9vwWL5umGlN+ChYgE4WHArPNnPVWhOjsfj0WmIJWI/k3j7zhXiLOWXZI81WZUVMBSuOWoiQnhHnzyV3VJKCHKPJCaXzaDPLifEmR2llLwRphN4SJI83J8nzgSCh9neNEFOHPNXZY+5oatw38bt9a547FThHj6Bnv8mDdipfCVnFpI8OQMPaKgJsqmllH8ZMI7pcVn+qvOePYD4aAuUH9f7zeHZCDlNNtR8z1hEfYaTp/vy+sEF/gBCnsK/Z5lWR3AvLLD/h4HlaJjdwlq7GIQ07u22T7T03QIdreE/iUCAIXFkmwJ5ea6DvSOP9jBw6CYhsMxJjDpLywMh4RujfFc/6wjNyYYm5YLjkFYshOqLh3YAoHrUUhOYPyjis7j0eHb7CkYpshbovTqUg+IK6XHtV64Om31SWW2Ad9VZ/Q9uQRHRsP+WL/RmO9uMa9rSaX/fgWe07NaiUTJT5BA85+ndTXUIAim64TP5kDi+iYs3nQiCZrlA/6SPWTBaLyLmNElJE9iIy0yv5W4x8MrJf9TBF8o= - on_failure: always - on_success: change diff --git a/README.md b/README.md index bb6825c..aff90ec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Teensy: development platform for [PlatformIO](http://platformio.org) -[![Build Status](https://travis-ci.org/platformio/platform-teensy.svg?branch=develop)](https://travis-ci.org/platformio/platform-teensy) -[![Build status](https://ci.appveyor.com/api/projects/status/vb91x3g5xujtorf9/branch/develop?svg=true)](https://ci.appveyor.com/project/ivankravets/platform-teensy/branch/develop) + +[![Build Status](https://github.com/platformio/platform-teensy/workflows/Examples/badge.svg)](https://github.com/platformio/platform-teensy/actions) Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard USB cable and a PC or Macintosh with a USB port. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 001f5ee..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,28 +0,0 @@ -build: off -environment: - - matrix: - - PLATFORMIO_PROJECT_DIR: "examples/arduino-blink" - - PLATFORMIO_PROJECT_DIR: "examples/arduino-hid-usb-mouse" - - PLATFORMIO_PROJECT_DIR: "examples/arduino-internal-libs" - - PLATFORMIO_PROJECT_DIR: "examples/mbed-blink" - - PLATFORMIO_PROJECT_DIR: "examples/mbed-dsp" - # - PLATFORMIO_PROJECT_DIR: "examples/mbed-rtos" - - PLATFORMIO_PROJECT_DIR: "examples/mbed-serial" - -install: - - cmd: git submodule update --init --recursive - - cmd: SET PATH=C:\Python36\Scripts;%PATH% - - cmd: pip3 install -U https://github.com/platformio/platformio/archive/develop.zip - - cmd: platformio platform install file://. - -test_script: - - cmd: platformio run -d %PLATFORMIO_PROJECT_DIR% - -notifications: - - provider: Slack - incoming_webhook: - secure: E9H0SU0Ju7WLDvgxsV8cs3J62T3nTTX7QkEjsczN0Sto/c9hWkVfhc5gGWUkxhlD975cokHByKGJIdwYwCewqOI+7BrcT8U+nlga4Uau7J8= - on_build_success: false - on_build_failure: true - on_build_status_changed: true diff --git a/platform.json b/platform.json index 60c68e5..de5c45a 100644 --- a/platform.json +++ b/platform.json @@ -2,8 +2,7 @@ "name": "teensy", "title": "Teensy", "description": "Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard USB cable and a PC or Macintosh with a USB port.", - "url": "https://www.pjrc.com/teensy", - "homepage": "http://platformio.org/platforms/teensy", + "homepage": "https://www.pjrc.com/teensy", "license": "Apache-2.0", "engines": { "platformio": "<5" @@ -12,7 +11,7 @@ "type": "git", "url": "https://github.com/platformio/platform-teensy.git" }, - "version": "4.9.0", + "version": "4.10.0", "packageRepositories": [ "https://dl.bintray.com/platformio/dl-packages/manifest.json", "http://dl.platformio.org/packages/manifest.json" @@ -41,7 +40,7 @@ "framework-arduinoteensy": { "type": "framework", "optional": true, - "version": "~1.152.0" + "version": "~1.153.0" }, "framework-mbed": { "type": "framework",