Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsplitt3r <splitt3r@users.noreply.github.com>2017-10-09 18:34:25 +0300
committersplitt3r <splitt3r@users.noreply.github.com>2017-10-09 18:34:25 +0300
commit45e61049f97ed90af006ab1088f955f573957758 (patch)
tree79773868cd368ab30e7bda18835a4a058a6b8beb /.travis.yml
parent538b786f53123b2a8c6a44859ee0e2f80a89e9bf (diff)
Set up Travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..21267500
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+sudo: required
+dist: trusty
+language: php
+php:
+ - 5.6
+ - 7.0
+ - 7.1
+env:
+ global:
+ - CORE_BRANCH=stable12
+ matrix:
+ - DB=mysql
+ - DB=sqlite
+ - DB=pgsql
+
+before_install:
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh polls $CORE_BRANCH $DB
+ - cd ../server
+ - ./occ app:enable polls
+
+before_script:
+ - cd apps/polls
+
+script:
+ - make test
+
+after_failure:
+ - cat ../../data/nextcloud.log