Add @PlatformIO to Travis.CI (#154)
* Initial version of build script for @PlatformIO; CI integration for Linux, macOS and Windows * Remove CI badges * Add @PlatformIO to Travis.CI
This commit is contained in:
parent
4bae4e060b
commit
6bec26cfbf
11
.travis.yml
11
.travis.yml
@ -1,5 +1,9 @@
|
||||
sudo: false
|
||||
language: bash
|
||||
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
@ -27,6 +31,11 @@ script:
|
||||
- cat size.log
|
||||
- echo -e "travis_fold:end:size_report"
|
||||
|
||||
# test library examples with PlatformIO
|
||||
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
|
||||
- platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage
|
||||
- "python -c \"import glob,subprocess,sys; map(lambda p: (sys.stdout.write('Library example: %s\\n' % p), subprocess.call(['pio', 'ci', p, '--board', 'esp32dev'])), glob.glob('libraries/*/examples/*/'))\""
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: change
|
||||
|
@ -22,6 +22,8 @@ kinds of creative coding, interactive objects, spaces or physical experiences.
|
||||
http://arduino.cc/en/Reference/HomePage
|
||||
"""
|
||||
|
||||
# Extends: https://github.com/platformio/platform-espressif32/blob/develop/builder/main.py
|
||||
|
||||
from os.path import isdir, join
|
||||
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
Loading…
Reference in New Issue
Block a user