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