Files
jerryscript/.travis.yml
T
Zsolt Borbély 2f661f9509 Modify the buildoption-test and add to Travis CI as a job
MCU-targets were removed from buildoption-test temporarily.

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
2016-03-30 15:25:36 +02:00

31 lines
793 B
YAML

language: c
os: linux
dist: trusty
sudo: required
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tools/apt-get-install-deps.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tools/apt-get-install-qemu-arm.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tools/brew-install-deps.sh; fi
install:
script: "make -j VERBOSE=1 NINJA=1 $TARGET"
env:
- TARGET="check-signed-off check-vera check-cppcheck"
- TARGET="build.linux test-js-precommit"
- TARGET="build.linux test-js-precommit" TOOLCHAIN=build/configs/toolchain_linux_armv7l-hf.cmake TIMEOUT=300
- TARGET=test-buildoptions
- TARGET=test-unit
matrix:
include:
- os: osx
env: TARGET="build.darwin test-js-precommit"
- os: osx
env: TARGET=test-unit
allow_failures:
- os: osx