diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 749c7a2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,55 +0,0 @@ - -language: c - -compiler: - - clang - - gcc - -os: - - linux - -sudo: false - -env: - global: - - MAKEJOBS=-j1 - - RUN_TESTS=true - - COVERAGE_STATS=true - - BASE_OUTDIR=$TRAVIS_BUILD_DIR/out - -cache: - apt: true - -addons: - apt: - packages: - - pkg-config - - lcov - - libjansson-dev - -before_install: - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi - -install: - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install bison; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install flex; fi - - if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$COVERAGE_STATS" = "true" ]; then brew install lcov; fi - - if [ "$COVERAGE_STATS" = "true" ]; then gem install coveralls-lcov; fi - -before_script: - - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi - - test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh - - if [ "$COVERAGE_STATS" = "true" ]; then COVERAGE_OPT="--enable-coverage"; fi - -script: - - if [ -n "$SQLPARS_CONFIG" ]; then unset CC; unset CXX; fi - - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST - - SQLPARS_CONFIG_ALL="--prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib" - - ./configure --cache-file=config.cache $COVERAGE_OPT $SQLPARS_CONFIG_ALL $SQLPARS_CONFIG || ( cat config.log && false) - - make -s $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make V=1 $GOAL ; false ) - - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib - - if [ "$RUN_TESTS" = "true" ] || [ "$COVERAGE_STATS" = "true" ]; then make $MAKEJOBS distcheck; fi - -after_success: - - if [ "$COVERAGE_STATS" = "true" ]; then lcov --compat-libtool --directory . --capture --output-file coverage.info && coveralls-lcov coverage.info; fi -