aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkos Kiss <akiss@inf.u-szeged.hu>2016-02-11 15:57:34 +0100
committerAkos Kiss <akiss@inf.u-szeged.hu>2016-02-17 10:10:45 +0100
commitb18591eb257c1f74c7b3b2f134a0c55fcd60b693 (patch)
tree61b14865a4a5bb9c03cc21a465a1c2f0d9ca4b00 /.travis.yml
parent0d7ea70b41bc1b097c6e3e0c29317c0bbf581e4c (diff)
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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..d59bab53
--- /dev/null
+++ b/.travis.yml
@@ -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