Skip to content
This repository was archived by the owner on Jan 10, 2022. It is now read-only.

Commit 623bc95

Browse files
committed
Initial commit
0 parents  commit 623bc95

8 files changed

+464
-0
lines changed

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Ignore all test and documentation for archive
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.scrutinizer.yml export-ignore
5+
/.travis.yml export-ignore
6+
/phpunit.xml.dist export-ignore
7+
/tests export-ignore
8+
/docs export-ignore

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# phpstorm project files
2+
.idea
3+
4+
# netbeans project files
5+
nbproject
6+
7+
# zend studio for eclipse project files
8+
.buildpath
9+
.project
10+
.settings
11+
12+
# windows thumbnail cache
13+
Thumbs.db
14+
15+
# composer vendor dir
16+
/vendor
17+
18+
/composer.lock
19+
20+
# composer itself is not needed
21+
composer.phar
22+
23+
# Mac DS_Store Files
24+
.DS_Store
25+
26+
# phpunit itself is not needed
27+
phpunit.phar
28+
# local phpunit config
29+
/phpunit.xml
30+
31+
# local tests configuration
32+
/tests/data/config.local.php
33+
34+
# runtime cache
35+
/tests/runtime

.travis.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
- hhvm-nightly
10+
11+
# run build against hhvm but allow them to fail
12+
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
13+
matrix:
14+
fast_finish: true
15+
allow_failures:
16+
- php: hhvm-nightly
17+
- php: 7.0
18+
19+
# faster builds on new travis setup not using sudo
20+
sudo: false
21+
22+
# cache vendor dirs
23+
cache:
24+
directories:
25+
- $HOME/.composer/cache
26+
27+
install:
28+
- travis_retry composer self-update && composer --version
29+
- travis_retry composer global require "fxp/composer-asset-plugin:~1.0.0"
30+
- export PATH="$HOME/.composer/vendor/bin:$PATH"
31+
- travis_retry composer install --prefer-dist --no-interaction
32+
33+
script:
34+
- phpunit --verbose $PHPUNIT_FLAGS
35+
36+
after_script:
37+
- |
38+
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
39+
cd ../../..
40+
travis_retry wget https://scrutinizer-ci.com/ocular.phar
41+
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
42+
fi

LICENSE.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
The Yii framework is free software. It is released under the terms of
2+
the following BSD License.
3+
4+
Copyright © 2015 by Yii2tech (https://github.com/yii2tech)
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions
9+
are met:
10+
11+
* Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
* Redistributions in binary form must reproduce the above copyright
14+
notice, this list of conditions and the following disclaimer in
15+
the documentation and/or other materials provided with the
16+
distribution.
17+
* Neither the name of Yii Software LLC nor the names of its
18+
contributors may be used to endorse or promote products derived
19+
from this software without specific prior written permission.
20+
21+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25+
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32+
POSSIBILITY OF SUCH DAMAGE.

README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Project Self Update Extension for Yii 2
2+
=======================================
3+
4+
This extension.
5+
6+
For license information check the [LICENSE](LICENSE.md)-file.
7+
8+
[![Latest Stable Version](https://poser.pugx.org/yii2tech/selfupdate/v/stable.png)](https://packagist.org/packages/yii2tech/selfupdate)
9+
[![Total Downloads](https://poser.pugx.org/yii2tech/selfupdate/downloads.png)](https://packagist.org/packages/yii2tech/selfupdate)
10+
[![Build Status](https://travis-ci.org/yii2tech/selfupdate.svg?branch=master)](https://travis-ci.org/yii2tech/selfupdate)
11+
12+
13+
Requirements
14+
------------
15+
16+
This extension requires Linux OS.
17+
18+
19+
Installation
20+
------------
21+
22+
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
23+
24+
Either run
25+
26+
```
27+
php composer.phar require --prefer-dist yii2tech/selfupdate
28+
```
29+
30+
or add
31+
32+
```json
33+
"yii2tech/selfupdate": "*"
34+
```
35+
36+
to the require section of your composer.json.
37+
38+
39+
Usage
40+
-----
41+
42+
You can

0 commit comments

Comments
 (0)