Skip to content

Commit 86cdc4b

Browse files
committed
Remove the prerequisites installation and MCU build steps from Travis CI
The repeated downloads of the STM packages cause a huge slow-down of Travis, especially when the source site becomes irresponsive (which even causes Travis to report errors when the build would work fine otherwise). Unfortunately, the license of the STM packages does not allow their inclusion in the repository. (Note: locally executed `make precommit` still builds MCU targets.) JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
1 parent f2bdf08 commit 86cdc4b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ before_install:
88
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tools/apt-get-install-deps.sh; fi
99
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tools/brew-install-deps.sh; fi
1010

11-
install: make prerequisites
11+
install:
1212

1313
script: "make -j VERBOSE=1 NINJA=1 $TARGET"
1414

1515
env:
1616
- TARGET="check-signed-off check-vera check-cppcheck"
1717
- TARGET="build.linux test-js-precommit"
18-
- TARGET=build.mcu_stm32f3
19-
- TARGET=build.mcu_stm32f4
2018
- TARGET=test-unit
2119

2220
matrix:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ $(foreach __SYSTEM,$(NATIVE_SYSTEM) $(MCU_SYSTEMS), \
227227
# $(3) - target(s) to build with the cmake-generated Makefile
228228
define BUILD_RULE
229229
.PHONY: $(1)
230-
$(1): $$(BUILD_DIR)/$(2)/Makefile prerequisites
230+
$(1): $$(BUILD_DIR)/$(2)/Makefile
231231
$$(Q) $$(call SHLOG,$$(BUILD_COMMAND) -C $$(BUILD_DIR)/$(2) $(3),$$(BUILD_DIR)/$(2)/$(1).log,Build)
232232
$$(Q) $$(foreach __TARGET,$(3), \
233233
mkdir -p $$(OUT_DIR)/$$(__TARGET); \

0 commit comments

Comments
 (0)