forked from drush-ops/drush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 2.08 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Configuration file for unit test runner at http://travis-ci.org/#!/drush-ops/drush
# whitelist
branches:
only:
- master
- 6.x
- 5.x
- sql
language: php
php:
- 5.3
# - 5.4 Bugs in this version should be caught by 5.3 or 5.5
# - 5.5
env:
#D7
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--group=make
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--group=base
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--group=commands
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--group=pm
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--group=quick-drupal
- UNISH_DRUPAL_MAJOR_VERSION=7 UNISH_DB_URL=mysql://root:@127.0.0.1 PHPUNIT_ARGS=--exclude-group=base,make,commands,pm,quick-drupal
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--group=make
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--group=base
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--group=commands
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--group=pm
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--group=quick-drupal
# - UNISH_DB_URL=sqlite://none/of/this/matters PHPUNIT_ARGS=--exclude-group=base,make,commands,pm,quick-drupal
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--group=make
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--group=base
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--group=commands
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--group=pm
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--group=quick-drupal
# - UNISH_DB_URL=pgsql://postgres:@localhost PHPUNIT_ARGS=--exclude-group=base,make,commands,pm,quick-drupal
before_install: composer selfupdate
install: composer install
before_script:
- echo "sendmail_path='true'" >> `php --ini | grep "Loaded Configuration" | awk '{print $4}'`
- export UNISH_DRUSH="${PWD}/drush"
script: ${PWD}/unish.sh $PHPUNIT_ARGS