diff options
-rw-r--r-- | .travis.yml | 18 |
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' |