Travis.CI builds only for default_envs (#739)

This commit is contained in:
Def3nder 2020-02-29 16:30:15 +01:00 committed by GitHub
parent 480e7f5b54
commit d0d56c4416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 8 deletions

View File

@ -18,18 +18,26 @@
# it (remove "# " before each line) or use own configuration according to the # it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above). # Travis CI documentation (see above).
# #
# * Test the Travis config here:
# < https://config.travis-ci.com/explore >
#
language: python language: python
python: python:
- "2.7" # - "2.7"
sudo: false - "3.5"
os: linux
cache: cache:
bundler: true
ccache: true
directories: directories:
- "~/.platformio" - "~/.platformio"
- "~/.buildcache"
env: env:
- PLATFORMIO_CI_SRC=wled00 - PLATFORMIO_CI_SRC=wled00
install: install:
- pip install -U platformio - pip install -U platformio
- platformio update - platformio update
script: script:
- platformio ci --project-conf=./platformio.ini # - platformio ci --project-conf=./platformio.ini
- platformio run

View File

@ -5,11 +5,24 @@
src_dir = ./wled00 src_dir = ./wled00
data_dir = ./wled00/data data_dir = ./wled00/data
lib_dir = ./wled00/src lib_dir = ./wled00/src
build_cache_dir = ~/.buildcache
extra_configs = extra_configs =
platformio_override.ini platformio_override.ini
; Please uncomment one of the 5 lines below to select your board # ------------------------------------------------------------------------------
default_envs = nodemcuv2 # ENVIRONMENTS
#
# Please uncomment one of the lines below to select your board(s)
# ------------------------------------------------------------------------------
# Travis CI binaries
default_envs = d1_mini, esp01, esp01_1m, esp32dev
# Release binaries follow
; default_envs = nodemcuv2, esp01, esp01_1m, esp32dev, custom_WS2801, custom_APA102, custom_LEDPIN_16, custom_LEDPIN_4
# Single binaries
; default_envs = nodemcuv2
; default_envs = esp01 ; default_envs = esp01
; default_envs = esp01_1m ; default_envs = esp01_1m
; default_envs = esp07 ; default_envs = esp07
@ -20,9 +33,6 @@ default_envs = nodemcuv2
; default_envs = esp8285_4CH_H801 ; default_envs = esp8285_4CH_H801
; default_envs = esp8285_5CH_H801 ; default_envs = esp8285_5CH_H801
# Release binaries follow
; default_envs = nodemcuv2, esp01, esp01_1m, esp32dev, custom_WS2801, custom_APA102, custom_LEDPIN_16, custom_LEDPIN_4
[common] [common]
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# PLATFORM: # PLATFORM: