Skip to content

Commit 000487b

Browse files
committed
Merge pull request #3 from drupal-composer/travis
Tests with Travis CI
2 parents dbd1fc3 + 77df426 commit 000487b

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: php
2+
php:
3+
- "5.5"
4+
- "5.4"
5+
- "5.3"
6+
install:
7+
- composer install

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"post-create-project-cmd": ["rm README.md LICENSE"]
8585
},
8686
"config": {
87-
"vendor-dir": "sites/all/vendor"
87+
"vendor-dir": "vendor"
8888
},
8989
"extra": {
9090
"installer-paths": {

phpunit.xml.dist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
5+
backupGlobals="false"
6+
colors="true"
7+
bootstrap="vendor/autoload.php"
8+
verbose="true"
9+
>
10+
<testsuites>
11+
<testsuite name="drupal-composer-project tests">
12+
<directory>./test/</directory>
13+
</testsuite>
14+
</testsuites>
15+
</phpunit>

0 commit comments

Comments
 (0)