Skip to content

Commit

Permalink
Attempt to use travis
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Aug 26, 2012
1 parent 2793b94 commit d820e6e
Showing 3 changed files with 31 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions travis/compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
phpize && ./configure && make

0 comments on commit d820e6e

Please sign in to comment.