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):
|
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)
|
tokens = Util.splitext(path)
|
||||||
if suffixes and result[1] and result[1] in suffixes:
|
if suffixes and tokens[1] and tokens[1] in suffixes:
|
||||||
return (path, result[1])
|
return (path, tokens[1])
|
||||||
return result
|
return tokens
|
||||||
|
|
||||||
|
|
||||||
Builder.match_splitext = scons_patched_match_splitext
|
Builder.match_splitext = scons_patched_match_splitext
|
||||||
|
@@ -231,8 +231,14 @@ def init_ci_conf(project_dir):
|
|||||||
# python:
|
# python:
|
||||||
# - "2.7"
|
# - "2.7"
|
||||||
#
|
#
|
||||||
|
# sudo: false
|
||||||
|
# cache:
|
||||||
|
# directories:
|
||||||
|
# - "~/.platformio"
|
||||||
|
#
|
||||||
# install:
|
# install:
|
||||||
# - pip install -U platformio
|
# - pip install -U platformio
|
||||||
|
# - platformio update
|
||||||
#
|
#
|
||||||
# script:
|
# script:
|
||||||
# - platformio run
|
# - platformio run
|
||||||
@@ -246,6 +252,11 @@ def init_ci_conf(project_dir):
|
|||||||
# python:
|
# python:
|
||||||
# - "2.7"
|
# - "2.7"
|
||||||
#
|
#
|
||||||
|
# sudo: false
|
||||||
|
# cache:
|
||||||
|
# directories:
|
||||||
|
# - "~/.platformio"
|
||||||
|
#
|
||||||
# env:
|
# env:
|
||||||
# - PLATFORMIO_CI_SRC=path/to/test/file.c
|
# - PLATFORMIO_CI_SRC=path/to/test/file.c
|
||||||
# - PLATFORMIO_CI_SRC=examples/file.ino
|
# - PLATFORMIO_CI_SRC=examples/file.ino
|
||||||
@@ -253,6 +264,7 @@ def init_ci_conf(project_dir):
|
|||||||
#
|
#
|
||||||
# install:
|
# install:
|
||||||
# - pip install -U platformio
|
# - pip install -U platformio
|
||||||
|
# - platformio update
|
||||||
#
|
#
|
||||||
# script:
|
# script:
|
||||||
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N
|
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N
|
||||||
|
Reference in New Issue
Block a user