aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 11:22:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-21 11:22:18 +0100
commit966f6eb51639066b43a331e2c6f083a381794cff (patch)
treec3f3ce10f26fa94a73aab55fc73605fd9600a3e5
parent50de464f2d5064ca8d1593581abb4ef327fec94c (diff)
downloadrspamd-966f6eb51639066b43a331e2c6f083a381794cff.tar.gz
rspamd-966f6eb51639066b43a331e2c6f083a381794cff.zip
Revert "[Minor] Try to feed travis gods"
This reverts commit 50de464f2d5064ca8d1593581abb4ef327fec94c.
-rw-r--r--.travis.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index 6c0184423..519bbdaa5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,26 +1,26 @@
-sudo: false
+sudo: required
+dist: trusty
language: c
+#os:
+# - linux
+# - osx
+
python:
- "3.4"
-addons:
- apt:
- packages:
- - cmake
- - libevent-dev
- - libglib2.0-dev
- - libgmime-2.6-dev
- - libluajit-5.1-dev
- - libmagic-dev
- - libpcre3-dev
- - libssl-dev
- - make
- - ragel
- - redis-server
+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 libmagic-dev libpcre3-dev libsqlite3-dev libssl-dev make ragel redis-server
+# - 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:
+ - chmod a+rx /home/travis
- cmake . -DCMAKE_INSTALL_PREFIX=./_install -DCMAKE_C_COMPILER=$CC
- cmake --build . --target install
- sudo pip install robotframework