forked from rryqszq4/ngx-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (65 loc) · 1.54 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
language: c
sudo: required
dist: xenial
addons:
apt:
packages:
- locales
- language-pack-de
- re2c
- libgmp-dev
- libicu-dev
- libmcrypt-dev
- libtidy-dev
- libenchant-dev
- libaspell-dev
- libpspell-dev
- librecode-dev
- libsasl2-dev
- libxpm-dev
- cpanminus
- openssl
- libssl-dev
- libbz2-dev
- libzip-dev
- systemtap-sdt-dev
- libonig-dev
- axel
compiler:
- gcc
- clang
cache:
apt: true
directories:
- data-cache
env:
- PHP_SRC_VERSION=7.0.33
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=7.1.33
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=7.2.34
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=7.3.25
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=7.4.13
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=8.0.0
NGINX_SRC_VERSION=1.12.2
- PHP_SRC_VERSION=7.3.25
NGINX_SRC_VERSION=1.12.2
NGINX_MODULE=DYNAMIC
services:
- memcache
- redis-server
- mysql
install:
- sudo cpanm -n Test::Nginx
before_script:
- mysql -uroot -e 'create database ngx_php; grant all on ngx_php.* to "ngx_php"@"%" identified by "ngx_php"; flush privileges;'
- if [ ! -d data-cache ]; then mkdir data-cache; fi
- if [ ! -f data-cache/world.sql.gz ]; then wget -O data-cache/world.sql.gz http://downloads.mysql.com/docs/world.sql.gz; fi
- zcat data-cache/world.sql.gz | mysql -uroot
- mysql -uroot -e 'grant all on world.* to "ngx_php"@"%"; flush privileges;'
- ./.travis/compiler.sh
script:
- ./.travis/test.sh