Trying to fix Travis

This commit is contained in:
Alexandre Gaigalas 2011-12-19 11:00:14 -02:00
parent 30a1056600
commit 7a946b0408
2 changed files with 9 additions and 3 deletions

View file

@ -5,6 +5,6 @@ php:
- 5.3
- 5.4
before_script:
- "sudo apt-get install -y php-pear"
- "sudo make dev"
before_script:
- "sudo make dev-travis"
- "phpenv rehash"

View file

@ -9,6 +9,7 @@ help:
@echo "test\t\t Run all tests"
@echo "coverage\t Run all tests and write HTML coverage reports"
@echo "dev\t\t Install the necessary packages to develop this project"
@echo "dev-travis\t\t Install the necessary packages to run this on Travis CI"
@echo "patch\t\t Updates the package.xml and increments the patch revision number (1.1.x)"
@echo "minor\t\t Updates the package.xml and increments the minor revision number (1.x.0)"
@echo "major\t\t Updates the package.xml and increments the major revision number (x.0.0)"
@ -33,6 +34,11 @@ dev:
pear install --soft --force pear.pirum-project.org/Pirum
pear install --soft --force --alldeps -o package.xml
dev-travis:
@echo "Installing Pyrus packages... (please run as root if needed)"
pyrus set auto_discover 1
pyrus install -f -o package.xml
patch:
@echo "Generating package.xml patch version"
php bin/pear-package.php patch ${STABILITY}