diff --git a/.travis.yml b/.travis.yml index bc130cc89..abbbfdd1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.asciidoc b/README.asciidoc index 5791d9f45..e9360f24f 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -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: