diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7cfe5c6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: php + +php: + - '7.1' + - '7.2' + - '7.3' + +before_script: + - composer install + +script: +- php vendor/bin/phpunit \ No newline at end of file diff --git a/README.md b/README.md index 1f887e9..18b5559 100644 --- a/README.md +++ b/README.md @@ -18,5 +18,5 @@ echo $safeATag; To run the tests you must install the composer dependencies and then run: ``` -vendor/bin/phpunit tests/TestUrls.php +vendor/bin/phpunit ```