forked from javigomez/fof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (26 loc) · 773 Bytes
/
.travis.yml
File metadata and controls
33 lines (26 loc) · 773 Bytes
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
26
27
28
29
30
31
32
33
language: php
php:
- 5.5
- 5.4
- 5.3
env:
- JVERSION_TEST=3.2
branches:
only:
- development
install:
- composer update
before_script:
- pear channel-discover pear.phpunit.de
- pear install phpunit/DbUnit
- mysql -e 'create database fof_test;'
- if [[ "$JVERSION_TEST" == "2.5" ]]; then cp tests/environments/2.5/joomla.sql joomla.sql; fi
- if [[ "$JVERSION_TEST" == "3.1" ]]; then cp tests/environments/3.1/joomla.sql joomla.sql; fi
- if [[ "$JVERSION_TEST" == "3.2" ]]; then cp tests/environments/3.2/joomla.sql joomla.sql; fi
- mysql fof_test < joomla.sql
- cp build/templates/include.php fof/include.php
after_script:
- cat tests/debug.txt
notifications:
email: false
script: phpunit --bootstrap=tests/unit/bootstrap.php tests