Skip to content

Commit 5ed22eb

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 3f37769 commit 5ed22eb

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
@@ -241,7 +241,7 @@ $(foreach __SYSTEM,$(NATIVE_SYSTEM) $(MCU_SYSTEMS), \
241241
# $(3) - target(s) to build with the cmake-generated Makefile
242242
define BUILD_RULE
243243
.PHONY: $(1)
244-
$(1): $$(BUILD_DIR)/$(2)/Makefile prerequisites
244+
$(1): $$(BUILD_DIR)/$(2)/Makefile
245245
$$(Q) $$(call SHLOG,$$(BUILD_COMMAND) -C $$(BUILD_DIR)/$(2) $(3),$$(BUILD_DIR)/$(2)/$(1).log,Build)
246246
$$(Q) $$(foreach __TARGET,$(3), \
247247
mkdir -p $$(OUT_DIR)/$$(__TARGET); \

0 commit comments

Comments
 (0)