Skip to content
Permalink
Browse files

add basic support for travis-ci.org integration

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
  • Loading branch information...
trofi committed Feb 7, 2016
1 parent 68ef3ed commit b899b1f8c6267625ff1fc34148b53a0856e67ecb
Showing with 31 additions and 0 deletions.
  1. +31 −0 .travis.yml
@@ -0,0 +1,31 @@
language: cpp
# faster container-based travis
sudo: false

compiler:
- gcc
- clang

# preinstalled packages
addons:
apt:
packages:
- bison
- python3-docutils

# in-tree and out-of-tree builds
env:
- BUILD_DIR=re2c CONFIG_DIR=.
- BUILD_DIR=re2c-build CONFIG_DIR=../re2c/

script:
- cd re2c && ./autogen.sh
- cd ..
- mkdir -p $BUILD_DIR && cd $BUILD_DIR
- |
$CONFIG_DIR/configure \
--prefix="$(pwd)"/re2c-install \
--enable-docs
- make -j$(nproc)
- ./run_tests.sh
- make -j$(nproc) install

0 comments on commit b899b1f

Please sign in to comment.
You can’t perform that action at this time.