aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 87adfa092b5d541b7cbef3e610d0366efb4208eb (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
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
        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 the python bits
    - addons:
        apt:
          packages:
            - valgrind
      script:
        - make
        - make check