Kevin - Lee
Published © CC BY-SA

Traffic light indicates Travis CI compiled results

Seeed Recipe is a community of open source solutions for reference and field use. By following the step-by-step guidance, you can build u...

Full instructions provided725
Traffic light indicates Travis CI compiled results

Things used in this project

Hardware components

Wio Link
Seeed Studio Wio Link
×1
Traffic Light
×1
Grove - Relay
×3

Story

Read more

Code

Code snippet #1

Plain text
language: pythonpython:
  - "2.7"before_install:
  - pip install requests
  - python wio_link_execute.py buildinginstall:
script:
  - python wio_link_execute.py building  
   - python helloworld.
pyafter_success:
  - python wio_link_execute.py success
after_failure:
  - python wio_link_execute.py failure

Code snippet #2

Plain text
before_install:
  - pip install requests

Code snippet #3

Plain text
script:
  - python wio_link_execute.py building
  - python helloworld.py

Code snippet #4

Plain text
after_success:
  - python wio_link_execute.py success
after_failure:
  - python wio_link_execute.py failure

Github

https://github.com/Lee-Kevin/Travis-ci_Wio-Link

Credits

Kevin - Lee

Kevin - Lee

4 projects • 5 followers

Comments