Skip to content

Commit

Permalink
Update the travis bulding and composer settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Roderik van der Veer committed Oct 15, 2012
1 parent 76a09fe commit e5a8969
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 55 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
vendor/raven-php
vendor/symfony
vendor/
!vendor/.gitkeep
.idea/

composer.lock
21 changes: 11 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: php
php:
- 5.3
- 5.4

env:
- SYMFONY_VERSION=origin/2.0
- SYMFONY_VERSION=origin/master
php:
- 5.3
- 5.4

before_script: php vendor/vendors.php
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar --dev install

notifications:
email:
- [email protected]
script: phpunit --debug

notifications:
email:
- [email protected]
12 changes: 7 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<project name="KunstmaanSentryBundle" default="beforescripts">
<project name="kunstmaanbundles" default="beforescripts">

<target name="beforescripts" >
<target name="beforescripts">
<echo msg="Running the before scripts..." />

<exec command="php vendors.php" dir="./vendor" />

<echo msg=" -- Installing composer..." />
<exec command="curl -s http://getcomposer.org/installer | php" dir="." />
<echo msg=" -- Installing dependencies..." />
<exec command="php composer.phar --dev install" dir="." />
<echo msg="Done running all the before scripts." />
</target>

</project>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kunstmaan/sentry-bundle",
"type": "symfony-bundle",
"description": "Symfony2 KunstmaanSentryBundle",
"description": "The SentryBundle is a Symfony2 bundle for using Raven to send exceptions to Sentry (getsentry.com)",
"keywords": ["exceptions", "sentry"],
"homepage": "https://github.com/Kunstmaan/KunstmaanSentryBundle",
"license": "MIT",
Expand Down
12 changes: 10 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,26 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
bootstrap="./Tests/bootstrap.php"
bootstrap="./vendor/autoload.php"
>

<testsuites>
<testsuite name="KunstmaanSentryBundle test suite">
<testsuite name="Kunstmaan Test Suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>

<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
</logging>
</phpunit>
35 changes: 0 additions & 35 deletions vendor/vendors.php

This file was deleted.

0 comments on commit e5a8969

Please sign in to comment.