Move (almost all) Travis CI jobs to container-based infrastructure (#2333)

Container-based VMs promise significantly faster boot times.

More or less related changes:
- Added a JOBNAME to all jobs.
- Added `install-noapt` target to several Makefile.travis files to
  avoid `sudo apt-get install ...` steps. Those installations are
  now handled by the apt addon of Travis. The `install` targets are
  kept anyway to keep the makefiles self-contained.
- Removed a legacy workaround from the Coverity Scan job as it
  isn't necessary anymore to fiddle with the cerificates of
  scan.coverity.com.
- Fixed the Mbed and the Zephyr jobs.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-05-16 12:15:15 +02:00
committed by yichoi
parent 19451fa2d1
commit 53bd845d9f
8 changed files with 149 additions and 67 deletions
+1
View File
@@ -74,6 +74,7 @@ js2c:
yotta:
cd targets/mbed; \
export WCMAKE=`which cmake`; export PATH=`pwd`:$$PATH; \
yotta target $(YOTTA_TARGET); \
yotta build
+2 -2
View File
@@ -27,12 +27,12 @@ install-apt-get-deps:
# Install yotta
install-yotta:
pyenv global 2.7.13 # force the python version to a newer one
pip install --user "pyOpenSSL<17.5" # fix for failures with pyOpenSSL 17.5
pip install --user yotta
# Perform all the necessary (JerryScript-independent) installation steps.
install: install-apt-get-deps install-yotta
install-noapt: install-yotta
install: install-apt-get-deps install-noapt
## Targets for building Mbed with JerryScript.
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# Copyright JS Foundation and other contributors, http://js.foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# HACK:
# Wrapping cmake to ensure that yotta-driven cmake (3.6+) accepts
# arm-none-eabi-gcc as working compiler.
# WCMAKE variable must be set to the full path of the wrapped cmake.
# Related yotta issue: https://github.com/ARMmbed/yotta/issues/783
$WCMAKE -DCMAKE_C_COMPILER_WORKS=TRUE $@