diff options
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..d5cab28b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: php +php: + - 5.3 + - 5.4 + - 5.5 + +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' |
