diff --git a/.gitignore b/.gitignore index d9545db4..1e46f209 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ .idea/* /.idea /.idea/* -.travis.yml /vendor/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d7f0c152 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: php + +sudo: false + +php: + - 7.1 + - 7.2 + +env: + global: + - DB_BITRIX_HOST=localhost + - DB_BITRIX_LOGIN=root + - DB_BITRIX_PASS=root + - DB_BITRIX_NAME=bitrix + +before_script: + - bash tests/bin/before_script.sh + +script: + - make test