瀏覽代碼

TravisCI: support osx build

Chocobo1 10 年之前
父節點
當前提交
87a8e71c20
共有 1 個文件被更改,包括 11 次插入4 次删除
  1. 11 4
      .travis.yml

+ 11 - 4
.travis.yml

@@ -1,8 +1,15 @@
 language: cpp
-compiler: 
+
+os:
+  - linux
+  - osx
+
+compiler:
   - g++
   - clang
-os: linux
 
-before_script: cmake . 
-script: make && ./xmltest
+before_script: cmake .
+
+script:
+  - make -j3
+  - ./xmltest