-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
39 lines (36 loc) · 856 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
language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- nightly
# - hhvm
# https://docs.travis-ci.com/user/reference/trusty#PHP-images
matrix:
include:
- php: 5.2
dist: precise
- php: 5.3.3
dist: precise
# matrix:
# allow_failures:
# - php: hhvm
before_script:
- chmod 777 -R ./
- php -m
- cd build
script:
- php build -n holy_lance
- php -l holy_lance.php
# - php -S 0.0.0.0:8080 &
# - curl -s http://localhost:8080/holy_lance.php?file=init.php
# - curl -s http://localhost:8080/holy_lance.php?file=api.php
- php-cgi -f holy_lance.php file=init.php
- php-cgi -f holy_lance.php file=api.php
- php-cgi -f holy_lance.php file=test_disk.php
- php-cgi -f holy_lance.php file=test_pi.php
- php-cgi -f holy_lance.php file=test_ping.php ip=8.8.8.8
- php-cgi -f holy_lance.php