Remove unimplemented inclued_get_data builtin
[hiphop-php.git] / .travis.yml
blob66967c414c1ae1db14158eba3729dc33546c6d03
1 language: cpp
3 # This doesn't work - travis defaults to plain gcc if unknown
4 # http://github.com/travis-ci/travis-ci/issues/979
5 # http://llvm.org/apt/
6 compiler:
7   - gcc
8 #  - gcc-4.8
9 #  - clang-3.4
10 #  - clang-3.5
12 services:
13   - memcached
15 # Commands before installing prerequisites
16 before_script:
17   - time TRAVIS=1 ./configure_generic.sh -DENABLE_COTIRE=ON
18 # for some tests
19   - time sudo locale-gen de_DE && sudo locale-gen zh_CN.utf8 && sudo locale-gen fr_FR
20   - time make -j 6
21   - cd hphp/test/zend/good/ext/curl/tests/responder && ../../../../../../../hhvm/hhvm -m server -p 8444 &
22 # mysql configuration for unit-tests
23   - mysql -e 'CREATE DATABASE IF NOT EXISTS hhvm;'
24   - export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=hhvm"
25   - export PDO_MYSQL_TEST_USER="travis"
26   - export PDO_MYSQL_TEST_PASS=""
28 # The larger test suites (slow, zend) take longer than 50 minutes to run. Since
29 # we have no way to change the timeout, we subdivide the jit/interp repo/normal
30 # matrix and then further split the large suites using an experimental cut
31 # which divides the number of tests in each sub-run roughly in two.
32 env:
33   # non-repo
34   - TEST_RUN_MODE="-m jit       quick"
35   - TEST_RUN_MODE="-m interp    quick"
36   - TEST_RUN_MODE="-m jit       slow -I '#^hphp/test/slow/[a-df-nw-x].*#'"
37   - TEST_RUN_MODE="-m jit       slow -E '#^hphp/test/slow/[a-df-nw-x].*#'"
38   - TEST_RUN_MODE="-m interp    slow -I '#^hphp/test/slow/[a-df-nw-x].*#'"
39   - TEST_RUN_MODE="-m interp    slow -E '#^hphp/test/slow/[a-df-nw-x].*#'"
40   - TEST_RUN_MODE="-m jit       zend -I '#^hphp/test/zend/good/(ext/[a-ru-zA-Z0-9]|[Z]).*#'"
41   - TEST_RUN_MODE="-m jit       zend -E '#^hphp/test/zend/good/(ext/[a-ru-zA-Z0-9]|[Z]).*#'"
42   - TEST_RUN_MODE="-m interp    zend -I '#^hphp/test/zend/good/(ext/[a-ru-zA-Z0-9]|[Z]).*#'"
43   - TEST_RUN_MODE="-m interp    zend -E '#^hphp/test/zend/good/(ext/[a-ru-zA-Z0-9]|[Z]).*#'"
45   # quick repo
46   - TEST_RUN_MODE="-m jit    -r quick"
47   - TEST_RUN_MODE="-m interp -r quick -I '#^hphp/test/quick/[a-h].*#'"
48   - TEST_RUN_MODE="-m interp -r quick -I '#^hphp/test/quick/[i-zA-Z0-9].*#'"
50   # slow repo
51   - TEST_RUN_MODE="-m jit    -r slow -I '#^hphp/test/slow/[a-b].*#'"
52   - TEST_RUN_MODE="-m jit    -r slow -I '#^hphp/test/slow/[df-h].*#'"
53   - TEST_RUN_MODE="-m jit    -r slow -I '#^hphp/test/slow/[ci-nw-x].*#'"
54   - TEST_RUN_MODE="-m jit    -r slow -I '#^hphp/test/slow/[eo-p].*#'"
55   - TEST_RUN_MODE="-m jit    -r slow -I '#^hphp/test/slow/[q-vy-zA-Z0-9].*#'"
56   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/a.*#'"
57   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/[bd].*#'"
58   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/c.*#'"
59   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/[f-nw-x].*#'"
60   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/[eo-p].*#'"
61   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/[q-s].*#'"
62   - TEST_RUN_MODE="-m interp -r slow -I '#^hphp/test/slow/[t-vy-zA-Z0-9].*#'"
64   # zend repo
65   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/[a-e].*#'"
66   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/[f-l].*#'"
67   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/[m-rt-zA-Z0-9].*#'"
68   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/s[^t].*#'"
69   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/standard/tests/a.*#'"
70   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/standard/tests/[b-f].*#'"
71   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/ext/standard/tests/[g-zA-Z0-9].*#'"  
72   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/t.*#'"
73   - TEST_RUN_MODE="-m jit    -r zend -I '#^hphp/test/zend/good/Z.*#'"
74   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/[a-i].*#'"
75   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/[j-m].*#'"
76   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/[n-rt-zA-Z0-9].*#'"
77   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/s[^t].*#'"
78   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/standard/tests/[a-f].*#'"
79   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/ext/standard/tests/[g-zA-Z0-9].*#'"
80   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/t.*#'"
81   - TEST_RUN_MODE="-m interp -r zend -I '#^hphp/test/zend/good/Z.*#'"
83 # Main test script
84 script: time PHP_CURL_HTTP_REMOTE_SERVER="http://localhost:8444" hphp/hhvm/hhvm hphp/test/run $TEST_RUN_MODE
86 # Notifications
87 # The default is to send email on all failures and changed success
88 # Adding other notifiers (like IRC) does not disable the email one
89 notifications:
90   email: false
91   irc:
92     channels:   "chat.freenode.net#hhvm-dev"
93     on_success: always
94     on_failure: always
95     use_notice: true
97 matrix:
98   fast_finish: true
99 #  include:
100 #    - compiler: clang
101 #      env: CC=clang-3.4 CXX=clang++-3.4  PACKAGE=clang-3.4
102 #    - compiler: clang
103 #      env: CC=clang-3.5 CXX=clang++-3.5  PACKAGE=clang-3.5
104 #    - compiler: gcc
105 #      env: CC=gcc-4.8   CXX=g++-4.8  PACKAGE=g++-4.8
106 # http://www.ubuntuupdates.org/package/core/trusty/main/base/gcc-4.9-base
107 #    - compiler: gcc
108 #      env: CC=gcc-4.9   CXX=g++-4.9  PACKAGE=g++-4.9
110 # everything that was pushed was already on 'master', except
111 # http://docs.travis-ci.com/user/build-configuration/#Using-regular-expressions
112 #branches:
113 #  only:
114 #    - master
115 #    - /^HHVM-.*$/