Security update for Core, with self-updated composer
[yaffs-website] / vendor / masterminds / html5 / .travis.yml
diff --git a/vendor/masterminds/html5/.travis.yml b/vendor/masterminds/html5/.travis.yml
new file mode 100644 (file)
index 0000000..9183e65
--- /dev/null
@@ -0,0 +1,39 @@
+language: php
+
+sudo: false
+
+php:
+  - 5.4
+  - 5.5
+  - 5.6
+  - 7.0
+  - 7.1
+  - hhvm
+
+matrix:
+    include:
+        - php: 5.3
+          dist: precise
+    fast_finish: true
+
+dist: trusty
+
+cache:
+  directories:
+    - $HOME/.composer/cache
+
+notifications:
+  irc: "irc.freenode.net#masterminds"
+
+before_script:
+  - composer self-update
+  - composer install
+
+script:
+  - mkdir -p build/logs
+  - ./vendor/bin/phpunit --coverage-clover=coverage.xml
+
+after_script:
+  - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
+  - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi;'
+  - php test/benchmark/run.php 50