Joel Stanley | 4d948ac | 2016-03-18 14:12:02 +1030 | [diff] [blame^] | 1 | language: c |
| 2 | |
| 3 | sudo: required |
| 4 | dist: trusty |
| 5 | |
| 6 | compiler: |
| 7 | - clang |
| 8 | - gcc |
| 9 | |
| 10 | install: |
| 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 | |
| 19 | script: |
| 20 | - autoreconf -i && ./configure && make |