forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (67 loc) · 4.16 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
68
69
70
71
72
73
74
language: cpp
compiler:
- gcc
before_script:
- time TRAVIS=1 ./configure_generic.sh
# for some tests
- time sudo locale-gen de_DE && sudo locale-gen zh_CN.utf8 && sudo locale-gen fr_FR
- time HPHP_HOME=`pwd` make -j 6
- cd hphp/test/zend/good/ext/curl/tests/responder && ../../../../../../../hhvm/hhvm -m server -p 8444 &
# mysql configuration for unit-tests
- mysql -e 'CREATE DATABASE IF NOT EXISTS hhvm;'
- export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=hhvm"
- export PDO_MYSQL_TEST_USER="travis"
- export PDO_MYSQL_TEST_PASS=""
# The larger test suites (slow, zend) take longer than 50 minutes to run. Since
# we have no way to change the timeout, we subdivide the jit/interp repo/normal
# matrix and then further split the large suites using an experimental cut
# which divides the number of tests in each sub-run roughly in two.
env:
- TEST_RUN_MODE="-m jit quick"
- TEST_RUN_MODE="-m jit slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
- TEST_RUN_MODE="-m jit slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
- TEST_RUN_MODE="-m jit zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
- TEST_RUN_MODE="-m jit zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
- TEST_RUN_MODE="-m jit -r quick"
- TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[a-b].*/"
- TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[df-h].*/"
- TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[ci-nw-x].*/"
- TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[eo-p].*/"
- TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[q-vy-zA-Z0-9].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[a-e].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[f-l].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[m-rt-zA-Z0-9].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/s[^t].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/a.*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[b-f].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[g-zA-Z0-9].*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/t.*/"
- TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/Z.*/"
- TEST_RUN_MODE="-m interp quick"
- TEST_RUN_MODE="-m interp slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
- TEST_RUN_MODE="-m interp slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
- TEST_RUN_MODE="-m interp zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
- TEST_RUN_MODE="-m interp zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
- TEST_RUN_MODE="-m interp -r quick -I /^hphp\/test\/quick\/[a-h].*/"
- TEST_RUN_MODE="-m interp -r quick -I /^hphp\/test\/quick\/[i-zA-Z0-9].*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/a.*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[bd].*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/c.*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[f-nw-x].*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[eo-p].*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[q-s].*/"
- TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[t-vy-zA-Z0-9].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[a-i].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[j-m].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[n-rt-zA-Z0-9].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/s[^t].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[a-f].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[g-zA-Z0-9].*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/t.*/"
- TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/Z.*/"
script: time PHP_CURL_HTTP_REMOTE_SERVER="http://localhost:8444" hphp/hhvm/hhvm hphp/test/run $TEST_RUN_MODE
notifications:
email: false
irc: "chat.freenode.net#hhvm"
matrix:
fast_finish: true