You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Continuous Integration using @PlatformIO and @travis-ci Hi @PaulStoffregen, I see that your project contains the practical examples. All of us understand that it’s not easy to test them before each new commit to this repository. What is more, need to be sure that all of these examples are actual and compile without errors. I propose to solve this task using [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) practice which is intended to detect [integration bugs](https://en.wikipedia.org/wiki/Software_testing#Integration_testing) and save time over the lifespan of a project. ## How does it work? The each new commit to this repository will be tested using existing examples with appropriate platforms/embedded boards. @PlatformIO is used here as cross-platform code builder and library manager in pair with @travis-ci (distributed continuous integration service). ## Quickstart Please enable @travis-ci following the steps 1, 2 and 5 here http://docs.travis-ci.com/user/getting-started/#To-get-started-with-Travis-CI%3A For more details please follow to: * Official Travis CI Documentation for PlatformIO: https://docs.travis-ci.com/user/integration/platformio/ * PlatformIO documentation for Travis CI: http://docs.platformio.org/en/latest/ci/travis.html ## Status Badge You can add [badge with build status](https://docs.travis-ci.com/user/status-images/) to your README **Markdown** ``` [![Build Status](https://travis-ci.org/PaulStoffregen/Audio.svg?branch=master)](https://travis-ci.org/PaulStoffregen/Audio) ``` **RST** ``` .. image:: https://travis-ci.org/PaulStoffregen/Audio.svg?branch=master :target: https://travis-ci.org/PaulStoffregen/Audio ``` ## Examples * Project [USB_Host_Shield_2.0](https://github.com/felis/USB_Host_Shield_2.0) [![Build Status](https://travis-ci.org/felis/USB_Host_Shield_2.0.svg?branch=master)](https://travis-ci.org/felis/USB_Host_Shield_2.0) * Project [Arduino-IRremote](https://github.com/z3t0/Arduino-IRremote) [![Build Status](https://travis-ci.org/z3t0/Arduino-IRremote.svg?branch=master)](https://travis-ci.org/z3t0/Arduino-IRremote) * Project [ethercard](https://github.com/jcw/ethercard) [![Build Status](https://travis-ci.org/jcw/ethercard.svg?branch=master)](https://travis-ci.org/jcw/ethercard)
преди 9 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. language: python
  2. python:
  3. - "2.7"
  4. # Cache PlatformIO packages using Travis CI container-based infrastructure
  5. sudo: false
  6. cache:
  7. directories:
  8. - "~/.platformio"
  9. env:
  10. - PLATFORMIO_CI_SRC=examples/MemoryAndCpuUsage
  11. - PLATFORMIO_CI_SRC=examples/Recorder
  12. - PLATFORMIO_CI_SRC=examples/SamplePlayer
  13. - PLATFORMIO_CI_SRC=examples/WavFilePlayer
  14. - PLATFORMIO_CI_SRC=examples/Analysis/DialTone_7segment
  15. - PLATFORMIO_CI_SRC=examples/Analysis/DialTone_Serial
  16. - PLATFORMIO_CI_SRC=examples/Analysis/FFT
  17. - PLATFORMIO_CI_SRC=examples/Analysis/PeakMeterMono
  18. - PLATFORMIO_CI_SRC=examples/Analysis/PeakMeterStereo
  19. - PLATFORMIO_CI_SRC=examples/Analysis/SpectrumAnalyzerBasic
  20. - PLATFORMIO_CI_SRC=examples/Effects/Bitcrusher
  21. - PLATFORMIO_CI_SRC=examples/Effects/Chorus
  22. - PLATFORMIO_CI_SRC=examples/Effects/Delay
  23. - PLATFORMIO_CI_SRC=examples/Effects/Filter
  24. - PLATFORMIO_CI_SRC=examples/Effects/Filter_FIR
  25. - PLATFORMIO_CI_SRC=examples/Effects/Flange
  26. - PLATFORMIO_CI_SRC=examples/HardwareTesting/PassThroughMono
  27. - PLATFORMIO_CI_SRC=examples/HardwareTesting/PassThroughStereo
  28. - PLATFORMIO_CI_SRC=examples/HardwareTesting/SdCardTest
  29. - PLATFORMIO_CI_SRC=examples/HardwareTesting/ToneSweep
  30. - PLATFORMIO_CI_SRC=examples/HardwareTesting/WM8731MikroSine
  31. - PLATFORMIO_CI_SRC=examples/Synthesis/PlaySynthMusic
  32. - PLATFORMIO_CI_SRC=examples/Synthesis/pulseWidth
  33. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_1_02_Hardware_Test
  34. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_1_03_Playing_Music
  35. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_1_04_Blink_While_Playing
  36. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_1_05_Do_More_While_Playing
  37. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_01_First_Design_Tool_Use
  38. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_02_Mixers
  39. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_03_Samples
  40. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_04_Microphone_Check
  41. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_05_Simple_Delay
  42. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_06_Feedback_Delay
  43. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_07_Filters
  44. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_2_08_Oscillators
  45. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_3_01_Peak_Detection
  46. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_3_02_Fourier_Transform
  47. - PLATFORMIO_CI_SRC=examples/Tutorial/Part_3_03_TFT_Display
  48. install:
  49. - pip install -U platformio
  50. # install dependent libraries
  51. # http://platformio.org/#!/lib/show/539/SerialFlash
  52. - platformio lib install 539
  53. # remove "extras" directory
  54. - rm -r extras
  55. script:
  56. - platformio ci --lib=. --board=teensy31