Update folly again to fix OSX compilation
[hiphop-php.git] / .travis.yml
blobc16510f57c051bfe765fc38e566dca3b1a3f08bb
1 language: cpp
3 compiler:
4   - gcc
6 before_script:
7   - time TRAVIS=1 ./configure_ubuntu_12.04.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 HPHP_HOME=`pwd` 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 miuntes 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   - TEST_RUN_MODE="-m jit quick"
24   - TEST_RUN_MODE="-m jit slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
25   - TEST_RUN_MODE="-m jit slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
26   - TEST_RUN_MODE="-m jit zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
27   - TEST_RUN_MODE="-m jit zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/'
28   - TEST_RUN_MODE="-m jit -r quick"
29   - TEST_RUN_MODE="-m jit -r slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
30   - TEST_RUN_MODE="-m jit -r slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
31   - TEST_RUN_MODE="-m jit -r zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
32   - TEST_RUN_MODE="-m jit -r zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
33   - TEST_RUN_MODE="-m interp quick"
34   - TEST_RUN_MODE="-m interp slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
35   - TEST_RUN_MODE="-m interp slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
36   - TEST_RUN_MODE="-m interp zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
37   - TEST_RUN_MODE="-m interp zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
38   - TEST_RUN_MODE="-m interp -r quick"
39   - TEST_RUN_MODE="-m interp -r slow -I /^hphp\/test\/slow\/[a-df-nw-x].*/"
40   - TEST_RUN_MODE="-m interp -r slow -E /^hphp\/test\/slow\/[a-df-nw-x].*/"
41   - TEST_RUN_MODE="-m interp -r zend -I /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
42   - TEST_RUN_MODE="-m interp -r zend -E /^hphp\/test\/zend\/good\/(ext\/[a-ru-zA-Z0-9]|[Z]).*/"
44 script: time PHP_CURL_HTTP_REMOTE_SERVER="http://localhost:8444" hphp/hhvm/hhvm hphp/test/run $TEST_RUN_MODE
46 notifications:
47   email: false
48   irc: "chat.freenode.net#hhvm"