10 - time TRAVIS=1 ./configure_generic.sh
12 - time sudo locale-gen de_DE && sudo locale-gen zh_CN.utf8 && sudo locale-gen fr_FR
14 - cd hphp/test/zend/good/ext/curl/tests/responder && ../../../../../../../hhvm/hhvm -m server -p 8444 &
15 # mysql configuration for unit-tests
16 - mysql -e 'CREATE DATABASE IF NOT EXISTS hhvm;'
17 - export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=hhvm"
18 - export PDO_MYSQL_TEST_USER="travis"
19 - export PDO_MYSQL_TEST_PASS=""
21 # The larger test suites (slow, zend) take longer than 50 minutes to run. Since
22 # we have no way to change the timeout, we subdivide the jit/interp repo/normal
23 # matrix and then further split the large suites using an experimental cut
24 # which divides the number of tests in each sub-run roughly in two.
27 - TEST_RUN_MODE="-m jit quick"
28 - TEST_RUN_MODE="-m interp quick"
29 - TEST_RUN_MODE="-m jit slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
30 - TEST_RUN_MODE="-m jit slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
31 - TEST_RUN_MODE="-m interp slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
32 - TEST_RUN_MODE="-m interp slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
33 - TEST_RUN_MODE="-m jit zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
34 - TEST_RUN_MODE="-m jit zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
35 - TEST_RUN_MODE="-m interp zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
36 - TEST_RUN_MODE="-m interp zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
39 - TEST_RUN_MODE="-m jit -r quick"
40 - TEST_RUN_MODE="-m interp -r quick -I /^hphp\/test\/quick\/[a-h].*/"
41 - TEST_RUN_MODE="-m interp -r quick -I /^hphp\/test\/quick\/[i-zA-Z0-9].*/"
44 - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[a-b].*/"
45 - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[df-h].*/"
46 - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[ci-nw-x].*/"
47 - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[eo-p].*/"
48 - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[q-vy-zA-Z0-9].*/"
49 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/a.*/"
50 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[bd].*/"
51 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/c.*/"
52 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[f-nw-x].*/"
53 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[eo-p].*/"
54 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[q-s].*/"
55 - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[t-vy-zA-Z0-9].*/"
58 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[a-e].*/"
59 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[f-l].*/"
60 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/[m-rt-zA-Z0-9].*/"
61 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/s[^t].*/"
62 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/a.*/"
63 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[b-f].*/"
64 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[g-zA-Z0-9].*/"
65 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/t.*/"
66 - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/Z.*/"
67 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[a-i].*/"
68 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[j-m].*/"
69 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/[n-rt-zA-Z0-9].*/"
70 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/s[^t].*/"
71 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[a-f].*/"
72 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/ext\/standard\/tests\/[g-zA-Z0-9].*/"
73 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/t.*/"
74 - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/Z.*/"
77 script: time PHP_CURL_HTTP_REMOTE_SERVER="http://localhost:8444" hphp/hhvm/hhvm hphp/test/run $TEST_RUN_MODE
81 irc: "chat.freenode.net#hhvm-dev"