bootstrap: Fix infinite loop when modules listed
[xapian.git] / .travis.yml
blob32283322f16da974927d40014fd31a452e9d94e3
1 language: cpp
2 before_script:
3   - ./bootstrap
4   - ./configure
5 script: make && make check
6 sudo: false
7 notifications:
8   irc: "chat.freenode.net#xapian-devel"
9 addons:
10   apt:
11     sources:
12       - ubuntu-toolchain-r-test
13     packages:
14       - doxygen
15       - graphviz
16       - help2man
17       - python-docutils
18       - pngcrush
19       - python-sphinx
20       - uuid-dev
21       - libpcre3-dev
22       - libmagic-dev
23       - tcl
24       - gcc-4.7
25       - g++-4.7
26 env:
27   global:
28     - XAPIAN_COMMON_CLONE_URL=https://github.com/xapian/xapian.git
29   matrix:
30     - USE_CC=clang USE_CXX=clang++ CXXFLAGS=-Wno-error=reserved-user-defined-literal
31     - USE_CC=gcc-4.7 USE_CXX=g++-4.7
32 before_install:
33   - test -n $CC  && unset CC
34   - test -n $CXX && unset CXX
35   - test -n $USE_CC && export CC=$USE_CC
36   - test -n $USE_CXX && export CXX=$USE_CXX