viest 7 年之前
父节点
当前提交
daba263d4f
共有 2 个文件被更改,包括 27 次插入0 次删除
  1. 25 0
      .travis.yml
  2. 2 0
      travis/compile.sh

+ 25 - 0
.travis.yml

@@ -0,0 +1,25 @@
+language: php
+
+compiler:
+  - gcc
+  - clang
+
+os:
+  - linux
+
+php:
+  - 7.0
+  - 7.1
+
+notifications:
+  email: [email protected]
+
+before_script:
+  - sudo apt-get install zlib1g-dev -y
+  - git clone https://github.com/jmcnamara/libxlsxwriter.git
+  - cd libxlsxwriter
+  - make && sudo make install
+  - ./travis/compile.sh
+
+script:
+  - exit 0

+ 2 - 0
travis/compile.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+phpize && ./configure && make clean && make