1
0
mirror of https://github.com/ovh/php-ovh.git synced 2023-11-05 03:20:26 +01:00
php-ovh/.travis.yml
Stéphane HULARD c13758720b Use a PHP build tool, Phing instead of Grunt.
As I already mentioned in the #35 issue, I think it's more suitable to use a PHP build tool instead of a JS one. I don't tell that Grunt is not a powerful tool but it's a complicated installation process to be able to run tests.

Phing is required as a composer package and can be run directly after the composer install.

Examples:

```
vendor/bin/phing
vendor/bin/phing test
vendor/bin/phing clean
vendor/bin/phing phplint
vendor/bin/phing phpcs
vendor/bin/phing phpunit
vendor/bin/phing phpunit -Donly.units=true #The travis test process
```

The only difference here is the watch process. Phing doesn't have that kind of feature. It can be emulated with different tasks but require a lot more work. I think that PR is the first step, maybe we can go further if necessary.

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2016-04-19 09:59:15 +02:00

19 lines
228 B
YAML

addons:
apt:
packages:
- libcurl4-openssl-dev
language: php
php:
- hhvm
- 7.0
- 5.6
- 5.5
- 7.0
before_script:
- composer self-update
- composer install
script: vendor/bin/phing test -Donly.units=true