Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
Maintenance, Archer integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Feb 16, 2013
1 parent 2a28aeb commit 90f123a
Show file tree
Hide file tree
Showing 178 changed files with 412 additions and 392 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
@@ -1,4 +1,5 @@
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
test export-ignore
.travis.* export-ignore
.archer.* export-ignore
test export-ignore
4 changes: 2 additions & 2 deletions .gitignore
@@ -1,2 +1,2 @@
test/report
vendor
/artifacts/
/vendor/
23 changes: 23 additions & 0 deletions .travis.before-install
@@ -0,0 +1,23 @@
#!/usr/bin/env php
<?php
/**
* This script is executed before composer dependencies are installed,
* and as such must be included in each project as part of the skeleton.
*/
$path = getenv('HOME') . '/.composer/config.json';
$dir = dirname($path);
$config = <<<EOD
{
"config" : {
"github-oauth" : {
"github.com": "${_SERVER['ARCHER_TOKEN']}"
}
}
}
EOD;

if (!is_dir($dir)) {
mkdir($dir, 0755, true);
}

file_put_contents($path, $config);
1 change: 1 addition & 0 deletions .travis.env
@@ -0,0 +1 @@
GhZDtmRamoata0kGaT4TvA8hvaDdhOU5OsK9JkXf0DZUpQ24qk4pk+q7am8dolc0rPQfms0i2Nv6jtUr3L6xRufC3hb1wZyKkcrIu6m0juYeNwNoMU8mOKeW1Gghw9VDRdzzHLLONJeXQHUVRCSDPsJyUFHD+zzyR3n5VZag1YU=
6 changes: 6 additions & 0 deletions .travis.key
@@ -0,0 +1,6 @@
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLtNQQ1P4I/hGZPtQJZfv8z8DD
8Cw3EtVbNEup0VigZ9b0L789c/3/ZRRDmTFL6Agrp85HEtEiA8lPwarkrwYDN1Rm
+7PH6Ccm0XCSUIi+8CZk4+fJ/kYm+HHOpr3kIubplxMTItUzeTd/Ngbbg+YQ0Txy
UKDeDCVTAXhSneE1fwIDAQAB
-----END PUBLIC KEY-----
29 changes: 20 additions & 9 deletions .travis.yml
@@ -1,3 +1,11 @@
#
# This is the default Travis CI configuration.
#
# It uses a GitHub OAuth token when fetching composer dependencies
# to avoid IP-based API throttling.
#
# It also allows publication of artifacts via an additional build.
#
language: php

php:
Expand All @@ -6,16 +14,19 @@ php:
- 5.4
- 5.5

matrix:
# Use PHP 5.4 for coverage reporting.
include:
- php: 5.4
env:
- secure: "ELSvqXauLq9BoLX52V8TcJX97NFGod6dlwhxC//8vv4f+qDFW2NaNUOajjAn\nsg0Sf5tv9S+RzQnkCIxH96/kZghzvzykQ0+vfyxxc9vtbQc1Yni+xKja+aRW\nW7ZHw24NyiPNxNjHIJYiDaiC89w9qSsoLnZRsU5GjbI3NHqJuGs="
env:
global:
- ARCHER_PUBLISH_VERSION=5.4
- secure: "GhZDtmRamoata0kGaT4TvA8hvaDdhOU5OsK9JkXf0DZUpQ24qk4pk+q7am8dolc0rPQfms0i2Nv6jtUr3L6xRufC3hb1wZyKkcrIu6m0juYeNwNoMU8mOKeW1Gghw9VDRdzzHLLONJeXQHUVRCSDPsJyUFHD+zzyR3n5VZag1YU="

before_install:
- ./.travis.before-install
install:
- composer install --dev --prefer-dist --no-progress --no-interaction
script:
- ./vendor/bin/archer travis:build

matrix:
# PHP 5.5 is still in alpha, so ignore build failures.
allow_failures:
- php: 5.5

install: composer install --dev --prefer-source
script: ./vendor/bin/travis-build
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,6 @@
# Typhoon changelog

### 0.9.0

* Implemented icecave/archer integration
* General maintenance tasks (minor documentation updates, copyright year bump etc.)
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,29 @@
# Contributing

**Typhoon** is open source software; contributions from the community are
encouraged. Please take a moment to read these guidelines before submitting
changes.

### Code style

All PHP code must adhere to the
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
standards.

### Branching and pull requests

As a guideline, please follow this process:

1. [Fork the repository](https://help.github.com/articles/fork-a-repo).
2. Create a topic branch for the change:
* New features should branch from **develop**.
* Bug fixes to existing versions should branch from **master**.
* Please ensure the branch is clearly labelled as a feature or fix.
3. Make the relevant changes.
4. [Squash](http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages)
commits if necessary.
4. Submit a pull request to the **develop** branch.

Please note this is a general guideline only. For more information on the
branching structure please see the
[git-flow cheatsheet](http://danielkummer.github.com/git-flow-cheatsheet/).
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright © 2012 Erin Millard
Copyright © 2013 Erin Millard

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -2,5 +2,9 @@

*Simple, flexible type-checking for PHP.*

[![Build status](https://secure.travis-ci.org/eloquent/typhoon.png)](http://travis-ci.org/eloquent/typhoon)
[![Test coverage](http://eloquent.github.com/typhoon/coverage-report/coverage.png)](http://eloquent.github.com/typhoon/coverage-report/index.html)
[![Build Status]](http://travis-ci.org/eloquent/typhoon)
[![Test Coverage]](http://eloquent-software.com/typhoon/artifacts/tests/coverage/)

<!-- references -->
[Build Status]: https://raw.github.com/eloquent/typhoon/gh-pages/artifacts/images/icecave/regular/build-status.png
[Test Coverage]: https://raw.github.com/eloquent/typhoon/gh-pages/artifacts/images/icecave/regular/coverage.png
3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -27,8 +27,7 @@
"require-dev": {
"eloquent/liberator": "~1",
"ezzatron/phpunit-extensions": "~1",
"icecave/testing": "~2",
"icecave/woodhouse": "*"
"icecave/archer": "dev-develop"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit 90f123a

Please sign in to comment.