[icinga-checkins] icinga.org: icingaweb2/feature/travis: Add travis testing

git at icinga.org git at icinga.org
Wed Jan 4 18:14:54 CET 2017


Module: icingaweb2
Branch: feature/travis
Commit: 5e17b688f27ba50e4bafbe91ddfeff450cc0f5cc
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=5e17b688f27ba50e4bafbe91ddfeff450cc0f5cc

Author: Markus Frosch <markus.frosch at icinga.com>
Date:   Wed Jan  4 17:24:25 2017 +0100

Add travis testing

---

 .gitignore  |    1 +
 .travis.yml |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/.gitignore b/.gitignore
index 851d141..4e868cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
 # Except those related to git and vagrant
 !.git*
 !.puppet*
+!.travis.yml
 
 # Exclude application log files
 var/log/*
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9bef1df
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,36 @@
+language: php
+sudo: required
+
+php:
+  - '5.3'
+  - '5.4'
+  - '5.5'
+  - '5.6'
+  - '7.0'
+  - '7.1'
+
+services:
+  - mysql
+  - postgresql
+
+cache:
+  directories:
+    - vendor
+
+branches:
+  only:
+  - master
+  - /^v\d/
+
+notifications:
+  email: false
+
+before_install:
+  - sudo locale-gen de_DE fr_FR
+
+before_script:
+  - composer install
+  - composer update
+
+script:
+  - phpunit -c modules/test/phpunit.xml



More information about the icinga-checkins mailing list