forked from koala-framework/koala-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (24 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: php
php:
- "5.3"
before_script:
- echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- printf "\n" | pecl install imagick
- echo "short_open_tag = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- git clone git://github.com/vivid-planet/library.git
- mysql --user=root -e "CREATE DATABASE test;"
- mysql --user=root -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
- mysql --user=root -e "GRANT ALL PRIVILEGES ON * . * TO 'test'@'localhost';"
- echo "`pwd`/library/zend/%version%" > include_path
- echo "[production]" > tests/config.local.ini
- echo "server.domain = localhost" >> tests/config.local.ini
- echo 'server.baseUrl = ""' >> tests/config.local.ini
- echo "libraryPath = `pwd`/library" >> tests/config.local.ini
- chmod a+w tests/cache/*
- chmod a+w tests/temp
services:
- memcached
script: "php bootstrap.php test --exclude-group=slow"
notificaitons:
irc: "irc.freenode.org#kwf"