forked from urielha/log4stash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Travis-CI Build for log4stash (copied from WampSharp)
# Copied from keyczar-dotnet
# The Elasticsearch install copied from elasticsearch-dsl-py
# see travis-ci.org for details
language: objective-c
env:
global:
- EnableNuGetPackageRestore=true
- MONO_VER="3.4.0"
matrix:
- ES_VERSION=1.3.1
- ES_VERSION=1.4.4
before_install:
- wget "http://download.mono-project.com/archive/${MONO_VER}/macos-10-x86/MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg"
- sudo installer -pkg "MonoFramework-MDK-${MONO_VER}.macos10.xamarin.x86.pkg" -target /
- mkdir /tmp/elasticsearch
- wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
- /tmp/elasticsearch/bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false
script:
- cd src
- sudo xbuild
- sh .ci/RunTests.sh
branches:
only:
- dev
- master