瀏覽代碼

CI file fixes

Camilla Berglund 9 年之前
父節點
當前提交
a6bec2ebdc
共有 3 個文件被更改,包括 19 次插入5 次删除
  1. 13 0
      .appveyor.yml
  2. 4 4
      .travis.yml
  3. 2 1
      README.md

+ 13 - 0
.appveyor.yml

@@ -1,7 +1,20 @@
+branches:
+    only:
+        - ci
+        - master
+skip_tags: true
 environment:
     matrix:
         - BUILD_SHARED_LIBS: ON
         - BUILD_SHARED_LIBS: OFF
+matrix:
+    fast_finish: true
 build_script:
     - cmake -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% .
     - cmake --build .
+notifications:
+    - provider: Email
+        to:
+            - [email protected]
+    - on_build_status_failure: true
+    - on_build_status_success: false

+ 4 - 4
.travis.yml

@@ -2,7 +2,7 @@ language: c
 compiler: clang
 branches:
     only:
-        - travis
+        - ci
         - master
 os:
     - linux
@@ -21,8 +21,8 @@ script:
     - cmake -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} .
     - cmake --build .
 notifications:
-  email:
-    recipients:
-      - travis@glfw.org
+    email:
+        recipients:
+            - ci@glfw.org
     on_success: never
     on_failure: always

+ 2 - 1
README.md

@@ -1,6 +1,7 @@
 # GLFW
 
-[![Build Status](https://travis-ci.org/glfw/glfw.svg?branch=master)](https://travis-ci.org/glfw/glfw)
+[![Build status](https://travis-ci.org/glfw/glfw.svg?branch=master)](https://travis-ci.org/glfw/glfw)
+[![Build status](https://ci.appveyor.com/api/projects/status/0kf0ct9831i5l6sp/branch/master?svg=true)](https://ci.appveyor.com/project/elmindreda/glfw)
 
 ## Introduction