Skip to content

Commit

Permalink
Adding tests.php to testing, fixing 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
phayes committed Dec 2, 2014
1 parent 78c3c3a commit a91e69a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ language: php
before_script:
- composer self-update

env: GEOPHP_RUN_TESTS=1

install:
- composer install
# TODO Install geos library -- as a matrix test
# TODO optionally set up a postgis database for testing

script: cd tests && phpunit --verbose --colors --stderr tests
script:
- cd tests && phpunit --verbose --colors --stderr tests
- cd tests && php tests.php

# run tests on the following versions
php:
Expand All @@ -22,6 +26,3 @@ php:

matrix:
fast_finish: false
allow_failures:
# php 5.3 does not support random file list as an argument to scandir
- php: 5.3

0 comments on commit a91e69a

Please sign in to comment.