From a7e4a8030f38600cbd4dbcf1bdd8fd3546f256e8 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 28 Oct 2018 15:25:45 +0800 Subject: [PATCH 1/2] adds Travis CI for testing. - PHP 7.1, 7.2 and nightly --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f0972ff --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: php +php: + - '7.1' + - '7.2' + - nightly \ No newline at end of file From 5ea55e42f2d0736649aa44ecde570b3933037697 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 28 Oct 2018 15:27:45 +0800 Subject: [PATCH 2/2] composer install and phpunit for travisci --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index f0972ff..2d721b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: php +before_script: composer install +script: ./vendor/bin/phpunit --bootstrap vendor/autoload.php test php: - '7.1' - '7.2'