-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.drone.yml
38 lines (35 loc) · 1.07 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
---
kind: pipeline
type: docker
name: build
steps:
- name: fetch-tags
image: alpine/git
commands:
- git fetch --tags
- name: PHP73
image: phpdockerio/php73-cli
commands:
- sleep 1
- mv /etc/apt/sources.list /etc/apt/sources.list.bkup
- cp ./scripts/ubuntu-bionic-proxies /etc/apt/sources.list
- apt-get update
- apt-get -y install make
- composer config -g repositories.packagist.org false
- composer config -g repositories.root composer https://cache.dev.ruinix.com/repository/packagist/
- make install
- make test
- ls -alh
- name: PHP74
image: phpdockerio/php74-cli
commands:
- sleep 1
- mv /etc/apt/sources.list /etc/apt/sources.list.bkup
- cp ./scripts/ubuntu-bionic-proxies /etc/apt/sources.list
- apt-get update
- apt-get -y install make
- composer config -g repositories.packagist.org false
- composer config -g repositories.root composer https://cache.dev.ruinix.com/repository/packagist/
- make install
- make test
- ls -alh