Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-driver / .travis.yml
diff --git a/vendor/drupal/drupal-driver/.travis.yml b/vendor/drupal/drupal-driver/.travis.yml
new file mode 100644 (file)
index 0000000..9dd1ee8
--- /dev/null
@@ -0,0 +1,22 @@
+language: php
+
+php:
+  - 5.3
+  - 5.4
+  - 5.5
+  - 5.6
+  - 7.0
+  - hhvm
+
+install:
+  - composer install --dev --prefer-source
+
+script:
+  - find ./src -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
+  - phpunit
+  - vendor/bin/phpspec run -f pretty --no-interaction
+  # Don't test coding on php 5.3.
+  - test ${TRAVIS_PHP_VERSION} == "5.3" || ./vendor/bin/phpcs --standard=./phpcs-ruleset.xml --ignore=./vendor --ignore=./doc --ignore=./spec --ignore=./drush .
+
+# Enable Travis containers.
+sudo: false