-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'appwrite:master' into feature/addingScoop
- Loading branch information
Showing
310 changed files
with
9,252 additions
and
4,755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ os: linux | |
language: php | ||
|
||
php: | ||
- 8.0 | ||
- 8.1 | ||
|
||
stages: | ||
- lint | ||
- test | ||
|
||
env: | ||
- SDK=Android11Java8 | ||
|
@@ -27,7 +31,7 @@ env: | |
- SDK=FlutterStable | ||
- SDK=Go112 | ||
- SDK=Go118 | ||
- SDK=FlutterBeta | ||
# - SDK=FlutterBeta | ||
- SDK=KotlinJava8 | ||
- SDK=KotlinJava11 | ||
- SDK=KotlinJava17 | ||
|
@@ -42,25 +46,31 @@ env: | |
- SDK=Ruby27 | ||
- SDK=Ruby30 | ||
- SDK=Ruby31 | ||
- SDK=SwiftClient55 | ||
- SDK=SwiftServer55 | ||
- SDK=AppleSwift55 | ||
- SDK=Swift55 | ||
- SDK=WebChromium | ||
- SDK=WebNode | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
|
||
jobs: | ||
include: | ||
- stage: lint | ||
name: Lint | ||
install: | ||
- composer install | ||
script: | ||
- composer lint | ||
|
||
before_install: | ||
- > | ||
if [ ! -z "${DOCKERHUB_PULL_USERNAME:-}" ]; then | ||
echo "${DOCKERHUB_PULL_PASSWORD}" | docker login --username "${DOCKERHUB_PULL_USERNAME}" --password-stdin | ||
fi | ||
install: | ||
- docker --version | ||
- composer install | ||
|
||
script: | ||
- vendor/bin/phpunit tests/${SDK}Test.php | ||
- composer test tests/${SDK}Test.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"scripts": { | ||
"test": "vendor/bin/phpunit", | ||
"lint": "vendor/bin/phpcs", | ||
"format": "vendor/bin/phpcbf" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Appwrite\\SDK\\": "src/SDK", | ||
|
@@ -19,16 +24,17 @@ | |
"psr-4": {"Tests\\": "tests"} | ||
}, | ||
"require": { | ||
"php": ">=7.0.0", | ||
"php": ">=8.0", | ||
"ext-curl": "*", | ||
"ext-mbstring": "*", | ||
"ext-json": "*", | ||
"twig/twig": "^3.3", | ||
"matthiasmullie/minify": "^1.3" | ||
"twig/twig": "^3.4.1", | ||
"matthiasmullie/minify": "^1.3.68" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^9.5.13", | ||
"brianium/paratest": "^6.4" | ||
"phpunit/phpunit": "^9.5.21", | ||
"brianium/paratest": "^6.4", | ||
"squizlabs/php_codesniffer": "^3.6" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
|
Oops, something went wrong.