diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..07e5d9a0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: c +compiler: clang +before_install: + - sudo apt-add-repository ppa:irie/cmake -y + - sudo apt-get update -q + - sudo apt-get install cmake xorg-dev libglu1-mesa-dev +branches: + only: + - travis + - master +script: + - cmake . + - make +notifications: + email: + recipients: + - travis@glfw.org + on_success: never + on_failure: always diff --git a/README.md b/README.md index f54922d6..d070edcd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # GLFW +[![Build Status](https://travis-ci.org/glfw/glfw.svg?branch=master)](https://travis-ci.org/glfw/glfw) + ## Introduction GLFW is a free, Open Source, multi-platform library for OpenGL and OpenGL ES