Skip to content

Commit

Permalink
Travis.CI builds only for default_envs (Aircoookie#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
Def3nder authored Feb 29, 2020
1 parent 480e7f5 commit d0d56c4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,26 @@
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
# * Test the Travis config here:
# < https://config.travis-ci.com/explore >
#

language: python
python:
- "2.7"
sudo: false
# - "2.7"
- "3.5"
os: linux
cache:
bundler: true
ccache: true
directories:
- "~/.platformio"
- "~/.buildcache"
env:
- PLATFORMIO_CI_SRC=wled00
install:
- pip install -U platformio
- platformio update
script:
- platformio ci --project-conf=./platformio.ini
# - platformio ci --project-conf=./platformio.ini
- platformio run
20 changes: 15 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,24 @@
src_dir = ./wled00
data_dir = ./wled00/data
lib_dir = ./wled00/src
build_cache_dir = ~/.buildcache
extra_configs =
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_1m
; default_envs = esp07
Expand All @@ -20,9 +33,6 @@ default_envs = nodemcuv2
; default_envs = esp8285_4CH_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]
# ------------------------------------------------------------------------------
# PLATFORM:
Expand Down

0 comments on commit d0d56c4

Please sign in to comment.