Add support for travis integration

Fully fledged checks, builds, and tests on Linux, non-voting native
builds and unit tests on OS X.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2016-02-11 15:57:34 +01:00
parent 0d7ea70b41
commit b18591eb25
3 changed files with 82 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
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" == "osx" ]]; then tools/brew-install-deps.sh; fi
install: make prerequisites
script: "make -j VERBOSE=1 NINJA=1 $TARGET"
env:
- TARGET="check-signed-off check-vera check-cpp"
- TARGET="build.linux test-js-precommit"
- TARGET=build.mcu_stm32f3
- TARGET=build.mcu_stm32f4
- TARGET=test-unit
matrix:
include:
- os: osx
env: TARGET="build.darwin test-js-precommit"
- os: osx
env: TARGET=test-unit
allow_failures:
- os: osx