forked from doctrine/DoctrineORMModule
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (20 loc) · 762 Bytes
/
.travis.yml
File metadata and controls
23 lines (20 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: php
php:
- 5.3
- 5.4
before_script:
- cd ..
- git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive
- cd ZendSkeletonApplication
- rm config/application.config.php && cp ../DoctrineORMModule/.travis/application.config.php config/
- cp ../DoctrineORMModule/.travis/composer.json ./
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- rm -rf vendor/doctrine/DoctrineORMModule
- cp -r ../DoctrineORMModule vendor/doctrine/
- cp ../DoctrineORMModule/.travis/travis.doctrine_orm.local.php config/autoload/
- mysql -e 'create database travis_test;'
script:
- ./vendor/doctrine/DoctrineORMModule/.travis/run-cli.sh
- cd vendor/doctrine/DoctrineORMModule/tests
- phpunit