mirror of
https://github.com/Respect/Validation.git
synced 2024-06-30 17:50:12 +02:00
Trying to fix Travis
This commit is contained in:
parent
30a1056600
commit
7a946b0408
|
@ -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"
|
||||
|
|
6
Makefile
6
Makefile
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue