Permalink
Browse files

Housekeeping.

  • Loading branch information...
1 parent 38f1826 commit 76f07f74c504e6f179ad9ef102d2fff1faac3d85 @jmalloc jmalloc committed Oct 21, 2013
View
@@ -16,6 +16,7 @@ if ($token = getenv('ARCHER_TOKEN')) {
'github.com' => $token
);
$composerFlags = '--prefer-dist';
+ passthru('curl -s -i -H "Authorization: token $ARCHER_TOKEN" https://api.github.com | grep "^X-RateLimit"');
} else {
$composerFlags = '--prefer-source';
}
@@ -27,6 +28,8 @@ if (!is_dir($dir)) {
}
file_put_contents($file, json_encode($config));
+passthru('composer self-update --no-interaction');
+
$exitCode = 0;
passthru('composer install --dev --no-progress --no-interaction --ansi ' . $composerFlags, $exitCode);
exit($exitCode);
View
@@ -8,22 +8,14 @@
#
language: php
-php:
- - 5.3
- - 5.4
- - 5.5
+php: ["5.3", "5.4", "5.5"]
env:
global:
- - ARCHER_PUBLISH_VERSION=5.4
+ - ARCHER_PUBLISH_VERSION=5.5
- secure: "NHwjOurrLwJUT5jw/MzDelKOm1421C8rhznIUco6MiCNCpe5tFQpgtElsVwzWptcmDyDdRT/etPyUJMZw8oOJ3rebdluIG7Lb4YjOUJY7dM94uhuePjKVTjc/ak5SCm/Y8ZwPelZW+KLakd3yEfRAmSIECkcjS5SgCuwjnsH38k="
install:
- ./.travis.install
script:
- ./vendor/bin/archer travis:build
-
-matrix:
- # PHP 5.5 is still in alpha, so ignore build failures.
- allow_failures:
- - php: 5.5
View
@@ -1,13 +1,15 @@
# Rasta
-[![Build Status]](http://travis-ci.org/IcecaveStudios/rasta)
-[![Test Coverage]](http://icecavestudios.github.io/rasta/artifacts/tests/coverage)
+[![Build Status]](https://travis-ci.org/IcecaveStudios/rasta)
+[![Test Coverage]](https://coveralls.io/r/IcecaveStudios/rasta?branch=develop)
+[![SemVer]](http://semver.org)
**Rasta** is a PHP library for generating PHP code from a [Pasta abstract syntax tree](/IcecaveStudios/pasta-ast).
* Install via [Composer](http://getcomposer.org) package [icecave/rasta](https://packagist.org/packages/icecave/rasta)
* Read the [API documentation](http://icecavestudios.github.io/rasta/artifacts/documentation/api/)
<!-- references -->
-[Build Status]: https://raw.github.com/IcecaveStudios/rasta/gh-pages/artifacts/images/icecave/regular/build-status.png
-[Test Coverage]: https://raw.github.com/IcecaveStudios/rasta/gh-pages/artifacts/images/icecave/regular/coverage.png
+[Build Status]: https://travis-ci.org/IcecaveStudios/rasta.png?branch=develop
+[Test Coverage]: https://coveralls.io/repos/IcecaveStudios/rasta/badge.png?branch=develop
+[SemVer]: http://calm-shore-6115.herokuapp.com/?label=semver&value=0.1.4&color=yellow
View
@@ -7,20 +7,24 @@
"authors": [
{
"name": "James Harris",
- "email": "james.harris@icecave.com.au"
+ "email": "james.harris@icecave.com.au",
+ "homepage": "https://github.com/jmalloc"
}
],
"require": {
"php": ">=5.3",
- "icecave/pasta-ast": "~0.1",
- "icecave/collections": "~0.6"
+ "icecave/pasta-ast": "~0.1.0",
+ "icecave/collections": "~0.6.0"
},
"require-dev": {
- "icecave/archer": "~0.4"
+ "icecave/archer": "~1"
+ },
+ "suggest": {
+ "eloquent/asplode": "Drop-in exception-based error handling."
},
"autoload": {
"psr-0": {
- "Icecave\\Rasta": "lib"
+ "Icecave\\Rasta": "src"
}
}
}
Oops, something went wrong.

0 comments on commit 76f07f7

Please sign in to comment.