From 1ff13a32ee7fdaba64ae5b073e426145818b05e5 Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Tue, 23 Jun 2020 15:13:42 -0600 Subject: [PATCH] travis --- .gitlab-ci.yml | 11 ----------- .travis.yml | 9 +++++++++ README.md | 2 ++ 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 .gitlab-ci.yml create mode 100644 .travis.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 1616146..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,11 +0,0 @@ -image: php:7.1-alpine - -before_script: -- apk update -- apk add git -- curl -sS https://getcomposer.org/installer | php -- php composer.phar install - -test: - script: - - php composer.phar test diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..98158df --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: php +php: + - 7.1 + - 7.2 + - 7.3 + - 7.4 +install: + - composer install +script: composer test \ No newline at end of file diff --git a/README.md b/README.md index c653f8c..c6ffccd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # html-object-strings +[![Build Status](https://travis-ci.org/leafcutter-cms/leafcutter.svg?branch=main)](https://travis-ci.org/leafcutter-cms/leafcutter) + An HTML string-building library, used for building HTML strings from simple and easy-to-use objects.