php-json-ld/.travis.yml
David I. Lehn e98b8f61ba Group tests by test suite.
- Grouping the tests by test suite to avoid warning failures when there
  are no test in a suite. Requires the use of the phpunit `--group`
  flag.
2015-10-13 14:08:27 -04:00

19 lines
541 B
YAML

language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
sudo: false
# download test suite and run tests... submodule? meta testing project with
# all of the reference implementations?
script:
- git clone https://github.com/json-ld/json-ld.org.git _json-ld.org
- phpunit --group json-ld.org test.php -d ./_json-ld.org/test-suite
- git clone https://github.com/json-ld/normalization.git _normalization
- phpunit --group normalization test.php -d ./_normalization/tests
notifications:
email:
on_success: change
on_failure: change