summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJozef Selesi <jozef.selesi@saturized.com>2013-03-04 21:38:09 +0100
committerJozef Selesi <jozef.selesi@saturized.com>2013-03-04 23:29:51 +0100
commitd5f3dfafda51a306ebe327b868931af1b0bbdb2a (patch)
treefcc05df4a51f1867a52940beec0b7044e7dfdad8 /.travis.yml
parent4fe07c6b0a341b0b99ee1b051f7c0bdfda572e04 (diff)
Travis CI integration.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..2f564a11
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+language: php
+php:
+ - "5.3"
+
+services:
+ - mysql
+
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq graphicsmagick imagemagick php5-gd ffmpeg git-core
+
+before_script:
+ - mysql -e 'create database gallery3; create database gallery3_test;'
+ - cat `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | sed -e "s/short_open_tag = Off/short_open_tag = On/ig" > `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - php ./installer/index.php
+
+script:
+ - 'php index.php test'