From cbb04ee8068b89109fe8264ae778832de5f0ba73 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 27 May 2020 01:18:57 +0300 Subject: [PATCH] Switch to Github Actions as the main CI platform --- .github/workflows/examples.yml | 36 ++++++++++++++++++++++++++++++++++ .travis.yml | 29 --------------------------- README.md | 4 ++-- appveyor.yml | 27 ------------------------- 4 files changed, 38 insertions(+), 58 deletions(-) create mode 100644 .github/workflows/examples.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml new file mode 100644 index 0000000..bcbe7e1 --- /dev/null +++ b/.github/workflows/examples.yml @@ -0,0 +1,36 @@ +name: Examples + +on: [push] + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [ubuntu-16.04, windows-latest, macos-latest] + python-version: [2.7, 3.7] + example: + - "examples/arduino-asyncudp" + - "examples/arduino-blink" + - "examples/arduino-webserver" + - "examples/arduino-wifiscan" + - "examples/esp8266-nonos-sdk-blink" + - "examples/esp8266-rtos-sdk-blink" + - "examples/simba-blink" + 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 d9933e4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -language: python -python: - - "2.7" - - "3.6" - -env: - - PLATFORMIO_PROJECT_DIR=examples/arduino-asyncudp - - PLATFORMIO_PROJECT_DIR=examples/arduino-blink - - PLATFORMIO_PROJECT_DIR=examples/arduino-webserver - - PLATFORMIO_PROJECT_DIR=examples/arduino-wifiscan - - PLATFORMIO_PROJECT_DIR=examples/esp8266-nonos-sdk-blink - - PLATFORMIO_PROJECT_DIR=examples/esp8266-rtos-sdk-blink - - PLATFORMIO_PROJECT_DIR=examples/simba-blink - -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: zKv2HzE18J8f+mHUeoNylXSvh6IBlfaaf2H96cicwGB3p53jOXBXO/99N7MVe6UnkJludmVeTGim4timqZdCOLglUPxIo8lSFSp5+4dO+WCpZB7z9P+vw4oy+qV+5Kp1EhDQnOybg/7DdYiJiCVz1psDZH+oYRqnW/+lU6s48svItrUpy6s36OeZJsYP9jjoWnSyzAemvO3kurC3Gib475tJfKIMVd5l9Lmj3yuALonDj6z6DXHyM8lExxRbaAe22CvHzuTXs3N0S/d34Gdi7+f/+NOcKrdBgNbzMnchtwLgnX8uqGAp+3D96JmTNFxdBc1uY82WdDY/ij2X/f6GFzIWgXRI7medHxvWqUFdRC1Z6bK1t36QsPgot2A3nT4oJnlJ/NqpwsjnSN60emDmkbDUf0p1JzErhHHQTVrasTWOX7yXVteXXIIP1HYR1A+5VMjO+6r20J9AM+QYm/b+9Rmy6t2uMdmimiRTy2fQxH/eExWSmJqrzdvgWHPc8gPxj9Ib8mryVegFlkajswv/rh2L8I5FZwNTot0+qwYFyst+hNm0PBVBmcyLhSW4v2/sVBwq38ir4NyXtnps46S7VNKh7b8kdO2o4f8oRkv+PWSnnK6N6tej20CAZeBjTh2puIl2HVL47/rCQA7DZMiJP+iGet6HG6pWKktilvfhSLs= - on_failure: always - on_success: change diff --git a/README.md b/README.md index 744ba9b..d14ec80 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Espressif 8266: development platform for [PlatformIO](http://platformio.org) -[![Build Status](https://travis-ci.org/platformio/platform-espressif8266.svg?branch=develop)](https://travis-ci.org/platformio/platform-espressif8266) -[![Build status](https://ci.appveyor.com/api/projects/status/aob49qatio84iygj/branch/develop?svg=true)](https://ci.appveyor.com/project/ivankravets/platform-espressif8266/branch/develop) + +![alt text](https://github.com/platformio/platform-espressif8266/workflows/Examples/badge.svg "Espressif 8266 development platform") Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 12f4303..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -build: off -environment: - - matrix: - - PLATFORMIO_PROJECT_DIR: "examples/arduino-blink" - - PLATFORMIO_PROJECT_DIR: "examples/arduino-webserver" - - PLATFORMIO_PROJECT_DIR: "examples/arduino-wifiscan" - - PLATFORMIO_PROJECT_DIR: "examples/esp8266-rtos-sdk-blink" - - PLATFORMIO_PROJECT_DIR: "examples/esp8266-nonos-sdk-blink" - - PLATFORMIO_PROJECT_DIR: "examples/simba-blink" - -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