xref: /openbmc/obmc-console/.travis.yml (revision 4d948acd)
1language: c
2
3sudo: required
4dist: trusty
5
6compiler:
7        - clang
8        - gcc
9
10install:
11        - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
12        - sudo apt-add-repository -y ppa:h-rayflood/llvm
13        - sudo apt-get update && sudo apt-get install -yy gcc-5 clang-3.6
14        - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50
15        - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 50
16        - gcc --version
17        - clang --version
18
19script:
20        - autoreconf -i && ./configure && make
21