Permalink
Browse files

Attempt to use travis

  • Loading branch information...
laruence committed Aug 26, 2012
1 parent 2793b94 commit d820e6e5731ffd610154fdeab3dafd143a699c78
Showing with 31 additions and 0 deletions.
  1. +19 −0 .travis.yml
  2. +10 −0 README.md
  3. +2 −0 travis/compile.sh
View
@@ -0,0 +1,19 @@
+language: php
+
+php:
+ - 5.2
+ - 5.3
+ - 5.4
+
+notifications:
+ email: false
+
+env:
+ - REPORT_EXIT_STATUS=1
+
+#Compile
+before_script:
+ - ./travis/compile.sh
+
+# Run PHPs run-tests.php
+script: make test
View
@@ -1,7 +1,17 @@
# Yaf - PHP framework written in c and built as a PHP extension.
+Build Status: [![Build Status](https://secure.travis-ci.org/laruence/php-yaf.png)](http://travis-ci.org/laruence/php-yaf)
+
+## Requirement
+ - PHP 5.2 +
+
## Install
+### Install Yaf
+Yaf is an PECL extension, thus you can simply install it by:
+````
+pecl install yaf
+````
### Compile Yaf in Linux
````
$/path/to/phpize
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+phpize && ./configure && make

0 comments on commit d820e6e

Please sign in to comment.