Skip to content

Commit

Permalink
Travis CI: testing on different versions of php
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Aug 4, 2016
1 parent d67301d commit a36b72c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
sudo: required
language: c
addons:
apt:
packages:
- php5-dev
- php5-cli
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
services: redis-server
before_install: phpize
install: ./configure --prefix=/usr && sudo make install
before_script: echo 'extension = redis.so' | sudo tee -a /etc/php5/cli/php.ini
before_script: echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script: php tests/TestRedis.php

0 comments on commit a36b72c

Please sign in to comment.