Browse Source

remove old unittest files and lines

Puskás Zsolt 7 years ago
parent
commit
5fc5366ea3

+ 0 - 17
.travis.yml

@@ -1,32 +1,15 @@
 dist: trusty
 language: php
 
-# list any PHP version you want to test against
 php:
-  # aliased to a recent 5.6.x version
-  # - 5.6   PHPUnit 6.0 is supported on PHP 7.0 and PHP 7.1.
-  # aliased to a recent 7.0 version
   - 7.0
-  # # aliased to a recent 7.1 version
   - 7.1
 
-before_install:
-  # Update phpunit
-  #- sudo rm -r $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
-  #- wget https://phar.phpunit.de/phpunit.phar
-  #- sudo mkdir $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
-  #- sudo mv phpunit.phar $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
-  #- sudo chmod +x $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit
-
-# execute any number of scripts before the test run, custom env's are available as variables
 before_script:
   - sudo chmod -R 755 modules/ application/ system/
 
 script: 
-  # - set -e # don't stop on failure
-  #- php $HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/phpunit/phpunit.phar --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
   - phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
 
-# configure notifications (email, IRC, campfire etc)
 notifications:
   email: false

+ 0 - 9
modules/auth/.gitignore

@@ -1,9 +0,0 @@
-Icon?
-.DS_Store
-.svn
-code_coverage
-*~
-*.swp
-composer.lock
-vendor/*
-koharness_bootstrap.php

+ 0 - 37
modules/auth/.travis.yml

@@ -1,37 +0,0 @@
-sudo: false
-
-language: php
-
-# Only build the main develop/master branches - feature branches will be covered by PRs
-branches:
-  only:
-    - /^[0-9\.]+\/(develop|master)$/
-
-cache:
-  directories:
-    - vendor
-    - $HOME/.composer/cache
-
-php:
-  - 5.3
-  - 5.4
-  - 5.5
-  - 5.6
-  - 7.0
-  - hhvm
-
-matrix:
-  include:
-    - php: 5.3
-      env: 'COMPOSER_PHPUNIT="lowest"'
-
-before_script:
-  - composer install --prefer-dist
-  - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi;
-  - vendor/bin/koharness
-
-script:
-  - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
-
-notifications:
-  email: false

+ 0 - 4
modules/auth/README.md

@@ -1,9 +1,5 @@
 Kohana auth module
 ---
-| ver   | Stable                                                                                                                       | Develop                                                                                                                        |
-|-------|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
-| 3.3.x | [![Build Status - 3.3/master](https://travis-ci.org/kohana/auth.svg?branch=3.3%2Fmaster)](https://travis-ci.org/kohana/auth) | [![Build Status - 3.3/develop](https://travis-ci.org/kohana/auth.svg?branch=3.3%2Fdevelop)](https://travis-ci.org/kohana/auth) |
-| 3.4.x | [![Build Status - 3.4/master](https://travis-ci.org/kohana/auth.svg?branch=3.4%2Fmaster)](https://travis-ci.org/kohana/auth) | [![Build Status - 3.4/develop](https://travis-ci.org/kohana/auth.svg?branch=3.4%2Fdevelop)](https://travis-ci.org/kohana/auth) |
 
 I've forked the main Auth module because there were some fundamental flaws with it:
 

+ 0 - 41
modules/auth/composer.json

@@ -1,41 +0,0 @@
-{
-	"name":        "kohana/auth",
-	"type":        "kohana-module",
-	"description": "The official Kohana auth module",
-	"homepage":    "http://kohanaframework.org",
-	"license":     "BSD-3-Clause",
-	"keywords":    ["kohana", "framework", "authentication"],
-	"authors": [
-		{
-			"name":     "Kohana Team",
-			"email":    "team@kohanaframework.org",
-			"homepage": "http://kohanaframework.org/team",
-			"role":     "developer"
-		}
-	],
-	"support": {
-		"issues":   "http://dev.kohanaframework.org",
-		"forum":    "http://forum.kohanaframework.org",
-		"irc":      "irc://irc.freenode.net/kohana",
-		"source":   "http://github.com/kohana/core"
-	},
-	"require": {
-		"composer/installers": "~1.0",
-		"kohana/core":         ">=3.3",
-		"php":                 ">=5.3.3"
-	},
-	"require-dev": {
-		"kohana/core":         "3.3.*@dev",
-		"kohana/unittest":     "3.3.*@dev",
-		"kohana/koharness":    "*@dev"
-	},
-	"extra": {
-		"branch-alias": {
-			"dev-3.3/develop": "3.3.x-dev",
-			"dev-3.4/develop": "3.4.x-dev"
-		},
-		"installer-paths": {
-			"vendor/{$vendor}/{$name}": ["type:kohana-module"]
-		}
-	}
-}

+ 0 - 11
modules/auth/koharness.php

@@ -1,11 +0,0 @@
-<?php
-
-// Configuration for koharness - builds a standalone skeleton Kohana app for running unit tests
-return [
-
-	'modules' => [
-		'auth' => __DIR__,
-		'unittest' => __DIR__.'/vendor/kohana/unittest',
-	],
-
-];

+ 0 - 8
modules/cache/.gitignore

@@ -1,8 +0,0 @@
-Icon?
-.DS_Store
-*~
-nbproject
-build
-composer.lock
-vendor/*
-koharness_bootstrap.php

+ 0 - 45
modules/cache/.travis.yml

@@ -1,45 +0,0 @@
-sudo: false
-
-language: php
-
-# Only build the main develop/master branches - feature branches will be covered by PRs
-branches:
-  only:
-    - /^[0-9\.]+\/(develop|master)$/
-
-cache:
-  directories:
-    - vendor
-    - $HOME/.composer/cache
-
-php:
-  - 5.3
-  - 5.4
-  - 5.5
-  - 5.6
-  - 7.0
-  - hhvm
-
-matrix:
-  include:
-    - php: 5.3
-      env: 'COMPOSER_PHPUNIT="lowest"'
-
-services:
-  - memcached
-
-before_script:
-  - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; fi;
-  - if [[ $TRAVIS_PHP_VERSION = 5.* ]]; then echo extension = memcache.so >> $INI_FILE; fi;
-  - if [[ $TRAVIS_PHP_VERSION = 5.* ]]; then (echo yes | pecl install -f apcu-4.0.10 && echo apc.enable_cli = 1 >> $INI_FILE); fi;
-  - if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then (echo yes | pecl install -f apcu-5.1.2 && echo apc.enable_cli = 1 >> $INI_FILE); fi;
-  - if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then echo -e 'apc.max_file_size = 0\napc.cache_by_default = 0' >> $INI_FILE ; fi
-  - composer install --prefer-dist
-  - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies phpunit/phpunit; fi;
-  - vendor/bin/koharness
-
-script:
-  - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
-
-notifications:
-  email: false

+ 0 - 6
modules/cache/README.md

@@ -1,12 +1,6 @@
 Kohana Cache library
 ====================
 
-| ver   | Stable                                                                                                                               | Develop                                                                                                                                |
-|-------|--------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
-| 3.3.x | [![Build Status - 3.3/master](https://travis-ci.org/kohana/cache.svg?branch=3.3%2Fmaster)](https://travis-ci.org/kohana/cache) | [![Build Status - 3.3/develop](https://travis-ci.org/kohana/cache.svg?branch=3.3%2Fdevelop)](https://travis-ci.org/kohana/cache) |
-| 3.4.x | [![Build Status - 3.4/master](https://travis-ci.org/kohana/cache.svg?branch=3.4%2Fmaster)](https://travis-ci.org/kohana/cache) | [![Build Status - 3.4/develop](https://travis-ci.org/kohana/cache.svg?branch=3.4%2Fdevelop)](https://travis-ci.org/kohana/cache) |
-
-
 The cache library for Kohana 3 provides a simple interface to the most common cache solutions. Developers are free to add their own caching solutions that follow the cache design pattern defined within this module.
 
 Supported cache solutions

+ 0 - 41
modules/cache/composer.json

@@ -1,41 +0,0 @@
-{
-	"name":        "kohana/cache",
-	"type":        "kohana-module",
-	"description": "The official Kohana cache management module",
-	"homepage":    "http://kohanaframework.org",
-	"license":     "BSD-3-Clause",
-	"keywords":    ["kohana", "framework", "cache"],
-	"authors": [
-		{
-			"name":     "Kohana Team",
-			"email":    "team@kohanaframework.org",
-			"homepage": "http://kohanaframework.org/team",
-			"role":     "developer"
-		}
-	],
-	"support": {
-		"issues":   "http://dev.kohanaframework.org",
-		"forum":    "http://forum.kohanaframework.org",
-		"irc":      "irc://irc.freenode.net/kohana",
-		"source":   "http://github.com/kohana/core"
-	},
-	"require": {
-		"composer/installers": "~1.0",
-		"kohana/core":         ">=3.3",
-		"php":                 ">=5.3.3"
-	},
-    "require-dev": {
-        "kohana/core":         "3.3.*@dev",
-        "kohana/unittest":     "3.3.*@dev",
-        "kohana/koharness":    "*@dev"
-    },
-	"extra": {
-		"branch-alias": {
-			"dev-3.3/develop": "3.3.x-dev",
-			"dev-3.4/develop": "3.4.x-dev"
-		},
-        "installer-paths": {
-            "vendor/{$vendor}/{$name}": ["type:kohana-module"]
-        }
-	}
-}

Some files were not shown because too many files changed in this diff