Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

.travis.yml 2.0KB

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 lat temu
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 lat temu
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 lat temu
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 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. install:
  38. - pip install -U platformio
  39. # install dependent libraries
  40. # http://platformio.org/#!/lib/show/539/SerialFlash
  41. - platformio lib install 539
  42. - export PLATFORMIO_BUILD_FLAGS=-larm_cortexM4l_math
  43. # remove unused items
  44. - rm -r extras
  45. - rm -r examples/Synthesis/PlaySynthMusic/miditones
  46. script:
  47. - platformio ci --lib=. --board=teensy31