-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
48 lines (37 loc) · 960 Bytes
/
.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
os: linux
dist: bionic
services: docker
language: shell
branches:
only:
- main
- master
- develop
before_install:
- env | sort
- export EXPORT_TESTS_RESULTS=true
install:
# Execute CI build hooks
- ./hooks/run build "${VARIANT}" "${BASE}"
before_script:
# Display docker images
- docker images
# Codacy Coverage Reporter
- bash <(curl -Ls https://coverage.codacy.com/get.sh) download
script:
# Execute CI test hooks
- ./hooks/run test "${VARIANT}" "${BASE}"
after_success:
# Codacy Coverage Reporter
- test -z "${CODACY_PROJECT_TOKEN}" || bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r ./coverage/coverage-phpunit-cobertura.xml
notifications:
email: false
matrix:
allow_failures:
- env: VARIANT=debian BASE=fpm
env: # Environments
- VARIANT=alpine BASE=fpm
- VARIANT=debian BASE=fpm
#- VARIANT=fpm-alpine BASE=fpm
#- VARIANT=fpm BASE=fpm
#- VARIANT=apache BASE=apache