aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 15:58:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 15:58:52 +0000
commit187be2c16b557825ba5577a6e12a03dbe807a85c (patch)
treed4966df409e9c5a1df9bf94ff95c9178e9204c65 /.travis.yml
parent4b49bdd9279f22b96f5d16da2111f339ef03c3da (diff)
downloadrspamd-187be2c16b557825ba5577a6e12a03dbe807a85c.tar.gz
rspamd-187be2c16b557825ba5577a6e12a03dbe807a85c.zip
Fix travis rules.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c2f9e78f3..295b01624 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,17 @@
language: c
+sudo: false
+
+#os:
+# - linux
+# - osx
+
before_script:
- - sudo apt-get update -qq
- - sudo apt-get install -qq debhelper dpkg-dev cmake libevent-dev libglib2.0-dev libgmime-2.6-dev liblua5.1-0-dev libpcre3-dev cdbs libssl-dev libjudy-dev libsqlite3-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