forked from swoole/swoole-src
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
57 lines (45 loc) · 1.07 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
language: php
compiler:
- gcc
- clang
os:
- linux
php:
- 7.0
- 7.1
- 7.2
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
notifications:
email: [email protected]
sudo: required
env:
global:
- secure: "Mqg9ifSV0BLv2TIBw/x64aEuB8Y5aPXwXg7xAOq08oPlHBYSBgSYxroJL5PXs0fe7PszZF20bUBinwmEXYQzqgP/40Y1kmq/kfTsDXwTOc9qbAbA1pWvH+Sk1kDP5MLJRPWBCkqctyFd0I0u0SdzT1fgSqirqEz2bMnbAUVpSvo="
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: [email protected]
build_command_prepend: "./configure; make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan
# compile
before_script:
- env
- php -v
- ls -al
- pwd
- ./travis/compile.sh
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- php --ri swoole
script:
- ./travis/route.sh