Revert back caching for Travis.CI

This commit is contained in:
Ivan Kravets
2018-02-20 14:29:20 +02:00
parent 7c0cd12f80
commit 1cb1af3375
3 changed files with 18 additions and 6 deletions

2
docs

Submodule docs updated: 4e3146c43e...45a54d7499

View File

@@ -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

View File

@@ -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