]> granicus.if.org Git - re2c/blob - .travis.yml
Added include/ subdirectory to distribution and updated bootsrap files.
[re2c] / .travis.yml
1 language: cpp
2
3 compiler:
4  - gcc
5  - clang
6
7 # preinstalled packages
8 addons:
9   apt:
10     packages:
11     - bison
12     - python3-docutils
13
14 # in-tree and out-of-tree builds
15 env:
16  - BUILD_DIR=.      CONFIG_DIR=.
17  - BUILD_DIR=.build CONFIG_DIR=..
18
19 script:
20   - ./autogen.sh
21   - mkdir -p $BUILD_DIR && cd $BUILD_DIR
22   - |
23     $CONFIG_DIR/configure \
24         --prefix="$(pwd)"/re2c-install \
25         --enable-docs \
26         --enable-debug \
27         --enable-libs
28   - make -j$(nproc)
29   - make -j$(nproc) check VERBOSE=1
30   - make -j$(nproc) install