Skip to content

Commit

Permalink
🚗 Remove PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
metowolf committed Jan 11, 2019
1 parent 94948c4 commit 0652dde
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 392 deletions.
38 changes: 22 additions & 16 deletions .travis.yml
@@ -1,22 +1,28 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
- hhvm

matrix:
allow_failures:
- php: nightly
- php: hhvm
fast_finish: true

sudo: false
include:
- php: '5.4'
- php: '5.5'
- php: '5.6'
- php: '7.0'
- php: '7.1'
- php: '7.2'
- php: '7.3'
- php: 'nightly'
- php: 'hhvm'

allow_failures:
- php: '5.4'
- php: '5.5'
- php: '5.6'
- php: '7.0'
- php: 'nightly'
- php: 'hhvm'

before_install:
- composer install --dev -n --prefer-source
sudo: false

script:
- vendor/bin/phpunit -c phpunit.xml.dist
script:
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
75 changes: 36 additions & 39 deletions composer.json
@@ -1,41 +1,38 @@
{
"name": "metowolf/meting",
"type": "library",
"description": "A powerful music API framework to accelerate development.",
"keywords": [
"php music",
"music api",
"lighty",
"lightweight"
],
"homepage": "https://github.com/metowolf/Meting",
"license": "MIT",
"authors": [
{
"name": "metowolf",
"email": "i@i-meto.com",
"homepage": "https://i-meto.com"
}
],
"support": {
"issues": "https://github.com/metowolf/Meting/issues",
"source": "https://github.com/metowolf/Meting"
},
"require": {
"php": ">=5.4.0",
"ext-curl": "*",
"ext-openssl": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.0"
},
"suggest": {
"ext-bcmath": "Required to use BC Math calculate RSA.",
"ext-openssl": "Required to use OpenSSL encrypt params."
},
"autoload": {
"psr-4": {
"Metowolf\\" : "src/"
}
}
"name": "metowolf/meting",
"type": "library",
"description": "A powerful music API framework to accelerate development.",
"keywords": [
"php music",
"music api",
"lighty",
"lightweight"
],
"homepage": "https://github.com/metowolf/Meting",
"license": "MIT",
"authors": [
{
"name": "metowolf",
"email": "i@i-meto.com",
"homepage": "https://i-meto.com"
}
],
"support": {
"issues": "https://github.com/metowolf/Meting/issues",
"source": "https://github.com/metowolf/Meting"
},
"require": {
"php": ">=5.4.0",
"ext-curl": "*",
"ext-openssl": "*"
},
"suggest": {
"ext-bcmath": "Required to use BC Math calculate RSA.",
"ext-openssl": "Required to use OpenSSL encrypt params."
},
"autoload": {
"psr-4": {
"Metowolf\\" : "src/"
}
}
}
28 changes: 0 additions & 28 deletions phpunit.xml.dist

This file was deleted.

52 changes: 0 additions & 52 deletions tests/BaiduTest.php.disabled

This file was deleted.

52 changes: 0 additions & 52 deletions tests/KugouTest.php

This file was deleted.

52 changes: 0 additions & 52 deletions tests/NeteaseTest.php

This file was deleted.

52 changes: 0 additions & 52 deletions tests/TencentTest.php

This file was deleted.

0 comments on commit 0652dde

Please sign in to comment.