-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (54 loc) · 1.3 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
language: php
compiler:
- gcc
- clang
os:
- linux
php:
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
notifications:
email: team@swoole.com
sudo: required
env:
global:
- secure: "Mqg9ifSV0BLv2TIBw/x64aEuB8Y5aPXwXg7xAOq08oPlHBYSBgSYxroJL5PXs0fe7PszZF20bUBinwmEXYQzqgP/40Y1kmq/kfTsDXwTOc9qbAbA1pWvH+Sk1kDP5MLJRPWBCkqctyFd0I0u0SdzT1fgSqirqEz2bMnbAUVpSvo="
- CODECOV_TOKEN=:50513381-198e-43d3-a8b1-e36b95038927
services:
- docker
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
coverity_scan:
project:
name: "swoole/swoole-src"
description: "Build submitted via Travis CI"
notification_email: team@swoole.com
build_command_prepend: "./configure; make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan
# compile
before_script:
- date
- env
- uname -a
- ulimit -a
- php -v
- ls -al
- pwd
- echo "`git log -20 --pretty --oneline`"
- echo "`git log -10 --stat --pretty --oneline`"
- ./travis/pecl-install.sh
- ./travis/simple-compile.sh
- php --ri swoole
script:
- ./travis/route.sh
after_success:
- bash <(curl -s https://codecov.io/bash)