Build with clang as well on the CI server

This commit is contained in:
Kovid Goyal 2016-12-18 12:49:31 +05:30
parent 1648ac1036
commit 73fa3c4a63
2 changed files with 6 additions and 2 deletions

View File

@ -10,6 +10,7 @@ addons:
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- clang
language: python
python:
- "3.5"
@ -22,7 +23,10 @@ install:
- make install
- cd ..
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig pkg-config --cflags glfw3
env:
- CC=gcc
- CC=clang
before_script:
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig python setup.py
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig python setup.py build --debug
script:
- PKG_CONFIG_PATH=$HOME/glfw/lib/pkgconfig LD_LIBRARY_PATH=$HOME/glfw/lib python setup.py test

View File

@ -73,7 +73,7 @@ the following dependencies are installed first.
* glfw-dev >= 3.2
* freetype
* fontconfig
* gcc (required for building, clang should also work, but it is not tested)
* gcc or clang (required for building)
* pkg-config (required for building)
Install kitty with: