mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-28 17:54:37 +02:00
29 lines
918 B
YAML
29 lines
918 B
YAML
language: c
|
|
|
|
#os:
|
|
# - linux
|
|
# - osx
|
|
|
|
before_script:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev liblua5.1-0-dev libpcre3-dev libsqlite3-dev libhiredis-dev
|
|
# - echo $TRAVIS_OS_NAME
|
|
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq ; fi
|
|
# - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq cmake libevent-dev libglib2.0-dev libgmime-2.6-dev libluajit-5.1-dev libpcre3-dev libsqlite3-dev libhiredis-dev ; fi
|
|
# - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
|
|
# - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install cmake gmime glib luajit pcre hiredis sqlite libevent ; fi
|
|
|
|
script:
|
|
- mkdir _build
|
|
- cd _build
|
|
- cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_C_COMPILER=$CC
|
|
- cmake --build . --target install
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
branches:
|
|
only:
|
|
- master
|