forked from platformio/platformio-core
Revert back caching for Travis.CI
This commit is contained in:
2
docs
2
docs
Submodule docs updated: 4e3146c43e...45a54d7499
@@ -31,12 +31,12 @@ AllowSubstExceptions(NameError)
|
||||
|
||||
def scons_patched_match_splitext(path, suffixes=None):
|
||||
"""
|
||||
Patch SCons version, append $OBJSUFFIX to the end of each target
|
||||
Patch SCons Builder, append $OBJSUFFIX to the end of each target
|
||||
"""
|
||||
result = Util.splitext(path)
|
||||
if suffixes and result[1] and result[1] in suffixes:
|
||||
return (path, result[1])
|
||||
return result
|
||||
tokens = Util.splitext(path)
|
||||
if suffixes and tokens[1] and tokens[1] in suffixes:
|
||||
return (path, tokens[1])
|
||||
return tokens
|
||||
|
||||
|
||||
Builder.match_splitext = scons_patched_match_splitext
|
||||
|
@@ -231,8 +231,14 @@ def init_ci_conf(project_dir):
|
||||
# python:
|
||||
# - "2.7"
|
||||
#
|
||||
# sudo: false
|
||||
# cache:
|
||||
# directories:
|
||||
# - "~/.platformio"
|
||||
#
|
||||
# install:
|
||||
# - pip install -U platformio
|
||||
# - platformio update
|
||||
#
|
||||
# script:
|
||||
# - platformio run
|
||||
@@ -246,6 +252,11 @@ def init_ci_conf(project_dir):
|
||||
# python:
|
||||
# - "2.7"
|
||||
#
|
||||
# sudo: false
|
||||
# cache:
|
||||
# directories:
|
||||
# - "~/.platformio"
|
||||
#
|
||||
# env:
|
||||
# - PLATFORMIO_CI_SRC=path/to/test/file.c
|
||||
# - PLATFORMIO_CI_SRC=examples/file.ino
|
||||
@@ -253,6 +264,7 @@ def init_ci_conf(project_dir):
|
||||
#
|
||||
# install:
|
||||
# - pip install -U platformio
|
||||
# - platformio update
|
||||
#
|
||||
# script:
|
||||
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N
|
||||
|
Reference in New Issue
Block a user