-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.drone.yml
50 lines (49 loc) · 1.47 KB
/
.drone.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
---
kind: pipeline
type: docker
name: php-ext-startup test
steps:
- name: install vendor
image: composer:1
commands:
- php -v
- composer install -vvv --profile --no-interaction
- name: build-ext(7.1)
image: php:7.1-cli
commands:
- php -v
- ./vendor/bin/kahlan
- phpize && ./configure && make && make install
- cp .circleci/docker-php-ext-startup.ini /usr/local/etc/php/conf.d/
- ./vendor/bin/kahlan
- name: build-ext(7.2)
image: php:7.2-cli
commands:
- php -v
- ./vendor/bin/kahlan
- phpize && ./configure && make && make install
- cp .circleci/docker-php-ext-startup.ini /usr/local/etc/php/conf.d/
- ./vendor/bin/kahlan
- name: build-ext(7.3)
image: php:7.3-cli
commands:
- php -v
- ./vendor/bin/kahlan
- phpize && ./configure && make && make install
- cp .circleci/docker-php-ext-startup.ini /usr/local/etc/php/conf.d/
- ./vendor/bin/kahlan
# - name: build-ext(7.4)
# image: php:7.4-cli
# commands:
# - php -v
# - ./vendor/bin/kahlan
# - phpize && ./configure && make && make install
# - cp .circleci/docker-php-ext-startup.ini /usr/local/etc/php/conf.d/
# - ./vendor/bin/kahlan
- name: send-wechat
image: erguotou/drone-instant-access
settings:
channel:
from_secret: CHANNEL
head: "[${DRONE_REPO}] Build Status"
body: "[${DRONE_REPO}] ${DRONE_BUILD_STATUS} at ${DRONE_BRANCH} branch"