ソースを参照

Add initial Travis CI file

Camilla Berglund 10 年 前
コミット
f21ac15c6c
2 ファイル変更21 行追加0 行削除
  1. 19 0
      .travis.yml
  2. 2 0
      README.md

+ 19 - 0
.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:
+      - [email protected]
+    on_success: never
+    on_failure: always

+ 2 - 0
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