Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1bc96d

Browse filesBrowse files
Fix travis builds
1 parent db84101 commit e1bc96d
Copy full SHA for e1bc96d

File tree

2 files changed

+6
-4
lines changed
Filter options

2 files changed

+6
-4
lines changed

‎.github/travis.php

Copy file name to clipboardExpand all lines: .github/travis.php
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
echo "Usage: branch version dir1 dir2 ... dirN\n";
55
exit(1);
66
}
7+
chdir(dirname(__DIR__));
78

89
$dirs = $_SERVER['argv'];
910
array_shift($dirs);
@@ -30,15 +31,15 @@
3031

3132
$package->repositories = array(array(
3233
'type' => 'composer',
33-
'url' => 'file://'.__DIR__.'/',
34+
'url' => 'file://'.dirname(__DIR__).'/',
3435
));
3536
$json = rtrim(json_encode(array('repositories' => $package->repositories), $flags), "\n}").','.substr($json, 1);
3637
file_put_contents($dir.'/composer.json', $json);
3738
passthru("cd $dir && tar -cf package.tar --exclude='package.tar' *");
3839

39-
$package->version = $version.'.x-dev';
40+
$package->version = $version.'.999';
4041
$package->dist['type'] = 'tar';
41-
$package->dist['url'] = 'file://'.__DIR__."/$dir/package.tar";
42+
$package->dist['url'] = 'file://'.dirname(__DIR__)."/$dir/package.tar";
4243

4344
$packages[$package->name][$package->version] = $package;
4445

@@ -51,3 +52,5 @@
5152
}
5253

5354
file_put_contents('packages.json', json_encode(compact('packages'), $flags));
55+
56+
passthru('git diff');

‎src/Symfony/Bundle/FrameworkBundle/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/composer.json
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"symfony/config": "~2.4",
2323
"symfony/event-dispatcher": "~2.5",
2424
"symfony/finder": "~2.0,>=2.0.5",
25-
"symfony/http-foundation": "~2.7",
2625
"symfony/http-kernel": "~2.7.15|~2.8.8",
2726
"symfony/filesystem": "~2.3",
2827
"symfony/routing": "~2.6,>2.6.4",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.