aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 11:49:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 11:49:25 +0100
commitbf505d89f649a56ba5a1067a5e43934405f8eb8c (patch)
treebbb679646eadda4bfea7a0ca7907abf28eed5b31 /circle.yml
parent02837be08778c77d2ce80aac4db7895183d8ee11 (diff)
downloadrspamd-bf505d89f649a56ba5a1067a5e43934405f8eb8c.tar.gz
rspamd-bf505d89f649a56ba5a1067a5e43934405f8eb8c.zip
[Minor] Test CircleCI
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 000000000..40deba580
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,20 @@
+machine:
+ services:
+ - redis
+
+dependencies:
+ pre:
+ - 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 libmagic-dev libpcre3-dev libsqlite3-dev libssl-dev make ragel redis-server
+ - sudo pip install robotframework
+# - 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
+
+test:
+ override:
+ - cmake . -DCMAKE_INSTALL_PREFIX=./_install -DCMAKE_C_COMPILER=$CC
+ - cmake --build . --target install
+ - sudo robot test/functional/cases