summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 968b8bdd7f8ee953343c2ad1c86313b174633b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: php
php:
  - 5.3
  - 5.4

branches:
  only:
    - 3.0.x
    - 3.1.x
    - master

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'