forked from wodby/php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (36 loc) · 1.11 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
language: bash
services:
- docker
env:
global:
- PHP73=7.3.2
- PHP72=7.2.15
- PHP71=7.1.26
- PHP56=5.6.40
matrix:
- PHP_VER="${PHP73}" TAGS=7.3,7,latest
- PHP_VER="${PHP72}" TAGS=7.2
- PHP_VER="${PHP71}" TAGS=7.1
- PHP_VER="${PHP56}" TAGS=5.6,5
- PHP_VER="${PHP73}" PHP_DEV=1 TAGS=7.3-dev,7-dev,dev
- PHP_VER="${PHP72}" PHP_DEV=1 TAGS=7.2-dev
- PHP_VER="${PHP71}" PHP_DEV=1 TAGS=7.1-dev
- PHP_VER="${PHP56}" PHP_DEV=1 TAGS=5.6-dev,5-dev
- PHP_VER="${PHP73}" PHP_DEV=1 WODBY_USER_ID=501 WODBY_GROUP_ID=20 TAGS=7.3-dev-macos,7-dev-macos,dev-macos
- PHP_VER="${PHP72}" PHP_DEV=1 WODBY_USER_ID=501 WODBY_GROUP_ID=20 TAGS=7.2-dev-macos
- PHP_VER="${PHP71}" PHP_DEV=1 WODBY_USER_ID=501 WODBY_GROUP_ID=20 TAGS=7.1-dev-macos
- PHP_VER="${PHP56}" PHP_DEV=1 WODBY_USER_ID=501 WODBY_GROUP_ID=20 TAGS=5.6-dev-macos,5-dev-macos
script:
- set -e
- cd "${PHP_VER:0:1}" || cd "${PHP_VER:0:3}"
- make check-configs
- travis_retry make
- make test
after_success:
- . "${TRAVIS_BUILD_DIR}/release.sh"
notifications:
email:
recipients:
- $NOTIFICATIONS_EMAIL
on_success: never
on_failure: always