aboutsummaryrefslogtreecommitdiffstats
path: root/dtc/.travis.yml
blob: a5163de2aca46e3cb063d01f44841c376cfa7f99 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: c

# Coverity Scan uploads
env:
  global:
  # COVERITY_SCAN_TOKEN (dgibson/dtc)
  - secure: "vlHvXe618//IM9LQaKzqsrUbjs7ng0L9UCST4kJbJnFQDXvVe5JiSmJGd4ef7mm0NUv5bMRl2W3xCiu6BYAu/NvU3tMNHoLG+JgCJs0+wLJXbWOwji/NmH7olqgJG+CmpaCMXjARF6+nrTnBYHJL6cYyf4KVoV4B0I/hLUW91+s="

matrix:
  include:
    - addons:
        apt:
          packages:
            - swig
            - python-dev
            - valgrind
            - libyaml-0-2
        coverity_scan:
          project:
            name: dtc
            description: Device Tree Compiler
          notification_email: david@gibson.dropbear.id.au
          build_command: make
          branch_pattern: coverity_scan
      script:
        - make
        - make check && make checkm

    # Check it builds properly without optional packages:
    #     python, valgrind, libyaml
    - script:
        - make
        - make check

    - arch: arm64
      addons:
        apt_packages:
          - swig
          - python-dev
          - valgrind
          - libyaml-0-2
      script:
        - make
        - make check checkm

    - arch: ppc64le
      addons:
        apt_packages:
          - swig
          - python-dev
          - libyaml-0-2
      script:
        - make
        - make check

    - arch: s390x
      addons:
        apt_packages:
          - swig
          - python-dev
          - valgrind
          - libyaml-0-2
      script:
        - make
        - make check checkm