aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 131e4e5ae15a49c9ccd3b302054ae3685574d1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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: "python tools/run-tests.py $OPTS"

env:
  - OPTS="--check-signed-off --check-cppcheck --check-vera"
  - OPTS="--jerry-tests --jerry-test-suite"
  - OPTS="--jerry-tests --jerry-test-suite --toolchain=cmake/toolchain_linux_armv7l.cmake" TIMEOUT=300
  - OPTS=--buildoption-test
  - OPTS=--unittests

matrix:
  include:
    - os: osx
      env: OPTS="--jerry-tests --jerry-test-suite"
    - os: osx
      env: OPTS=--unittests
  allow_failures:
    - os: osx