1language: c
2dist: trusty
3sudo: required
4# don't test master, smoke and coverity branches
5branches:
6    except:
7        - master
8        - smoke
9        - /^coverity-tested\/.*/
10        - /^stable-.*/
11matrix:
12    include:
13        - compiler: gcc
14          env: XEN_TARGET_ARCH=x86_64 debug=n
15        - compiler: gcc
16          env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
17        - compiler: gcc-5
18          env: XEN_TARGET_ARCH=x86_64 debug=n
19        - compiler: gcc
20          env: XEN_TARGET_ARCH=x86_64 debug=y
21        - compiler: gcc-5
22          env: XEN_TARGET_ARCH=x86_64 debug=y
23        - compiler: clang
24          env: XEN_TARGET_ARCH=x86_64 clang=y debug=n
25        - compiler: clang
26          env: XEN_TARGET_ARCH=x86_64 clang=y debug=y
27        - compiler: gcc
28          env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=n
29        - compiler: gcc
30          env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
31        - compiler: gcc
32          env: XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- debug=y
33        - compiler: gcc
34          env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=n
35        - compiler: gcc
36          env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
37        - compiler: gcc
38          env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y
39addons:
40    apt:
41        sources:
42            - ubuntu-toolchain-r-test
43        packages:
44            - zlib1g-dev
45            - libncurses5-dev
46            - libssl-dev
47            - python2.7-dev
48            - xorg-dev
49            - uuid-dev
50            - libyajl-dev
51            - libaio-dev
52            - libglib2.0-dev
53            - libpixman-1-dev
54            - pkg-config
55            - flex
56            - bison
57            - gettext
58            - acpica-tools
59            - bin86
60            - bcc
61            - libc6-dev-i386
62            - libnl-3-dev
63            - ocaml-nox
64            - libfindlib-ocaml-dev
65            - markdown
66            - transfig
67            - pandoc
68            - gcc-arm-linux-gnueabihf
69            - gcc-aarch64-linux-gnu
70            - gcc-5
71            - g++-5
72            - seabios
73            - checkpolicy
74            - ghostscript
75# we must set CXX manually instead of using 'language: cpp' due to
76# travis-ci/travis-ci#3871
77before_script:
78    - export CXX=${CC/cc/++}
79    - export CXX=${CXX/clang/clang++}
80script:
81    - ./scripts/travis-build
82after_script:
83    - cat xen/.config
84    - cat tools/config.log
85    - cat docs/config.log
86notifications:
87    irc:
88        channels:
89            - secure: "mPIFllF6eW3F3talvccMy55Tfcid66IPkkXZYCxDKRF2DQrMyvmg4qt0xN6gGZsdfOBMNr+/YfO5PxusBCUkVdBGBzd3QhFoIDYZbJZgzVh3yNDQ+x4L7p1cZNrwJ2loMmSX6KxGKZxZX9NRStrTUkVyp0jGZB9xkwT8Rl6jXj7EQkgQ95K1Wqafx0ycLfyDQmzX9bzi/3KIBFKMGmK18AFMh+R30zK0FPUUsS4+VhepIkVqO5puU3OYePd34wRnWlt7hjU2Vj5vYmVXp3UOE+E8/Lf9IGVAhitDi+EC35b8zo2BHJ9z6xZARYPvfSqbXcXV20RycabI+e3ufZJ40eatssly5QjWH+HhKS42C4gV1psmQhkTCNCM62Ty5uf6R1hsZJQuiOZrc8ojdje8ey2MxJk4R+Xz+Igg1/kD6+WX9/Y6Y3iRuj5HL1xCYfpTbK4mC7ofw0SofW2aAGI68jHpCqJdQCDzMl6748PlDMM0eKe0MPKIEenYHcoBnOEC/jciXUDa6wduV75EEip7oq2i+m44MopcsEDTpdliH077GhKapF0ActjvBTLpyoTRSfkKm0NZol/dgwd3PGG/mY8clIoeXWRb4opk93ejPC967KmSNC68SlfwaJmFZS5T9vAgb6k7r6i9G3dmYtrLKzws8IV1CPWqLzk58+v4pRk="
90