Skip to content

Commit

Permalink
Merge branch 'appwrite:master' into feature/addingScoop
Browse files Browse the repository at this point in the history
  • Loading branch information
CEbbinghaus authored Jan 30, 2023
2 parents 9c3c02e + edc4df3 commit 610664c
Show file tree
Hide file tree
Showing 310 changed files with 9,252 additions and 4,755 deletions.
26 changes: 18 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ os: linux
language: php

php:
- 8.0
- 8.1

stages:
- lint
- test

env:
- SDK=Android11Java8
Expand All @@ -27,7 +31,7 @@ env:
- SDK=FlutterStable
- SDK=Go112
- SDK=Go118
- SDK=FlutterBeta
# - SDK=FlutterBeta
- SDK=KotlinJava8
- SDK=KotlinJava11
- SDK=KotlinJava17
Expand All @@ -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
16 changes: 11 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand Down
Loading

0 comments on commit 610664c

Please sign in to comment.