forked from elastic/elasticsearch-ruby
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
48 lines (37 loc) · 1.04 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -------------------------------------------------------------------------------
# Configuration file for http://travis-ci.org/#!/elasticsearch/elasticsearch-ruby
# -------------------------------------------------------------------------------
language: ruby
branches:
only:
- master
- travis
rvm:
- 1.8.7
- 1.9.3
- 2.0
- 2.1
jdk:
- openjdk7
env:
- TEST_SUITE=unit
- TEST_SUITE=integration
before_install:
- gem update --system
- gem --version
install:
- test $TEST_SUITE == 'integration' && curl -# https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.tar.gz | tar xz -C /tmp || true
before_script:
- git submodule update --init --recursive || true
- rake elasticsearch:update
- rake bundle:clean
- rake bundle:install
script:
- SERVER=start TEST_BUILD_REF=tags/v1.0.0 TEST_CLUSTER_COMMAND=/tmp/elasticsearch-1.0.0/bin/elasticsearch rake test:$TEST_SUITE
matrix:
exclude:
- rvm: 1.8.7
jdk: openjdk7
env: TEST_SUITE=integration
notifications:
disable: true