forked from appwrite/sdk-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (65 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
dist: focal
arch:
- amd64
services:
- docker
os: linux
language: php
php:
- 8.1
stages:
- lint
- test
env:
- SDK=Android11Java8
- SDK=Android11Java11
- SDK=Android12Java8
- SDK=Android12Java11
- SDK=CLINode14
- SDK=CLINode16
- SDK=DartBeta
- SDK=DartStable
- SDK=Deno1171
- SDK=FlutterStable
- SDK=Go112
- SDK=Go118
# - SDK=FlutterBeta
- SDK=KotlinJava8
- SDK=KotlinJava11
- SDK=KotlinJava17
- SDK=Node12
- SDK=Node14
- SDK=Node16
- SDK=PHP74
- SDK=PHP80
- SDK=Python38
- SDK=Python39
- SDK=Python310
- SDK=Ruby27
- SDK=Ruby30
- SDK=Ruby31
- SDK=AppleSwift55
- SDK=Swift55
- SDK=WebChromium
- SDK=WebNode
notifications:
email:
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:
- composer test tests/${SDK}Test.php