-
Notifications
You must be signed in to change notification settings - Fork 159
/
.travis.yml
49 lines (41 loc) · 1.69 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
49
# http://docs.travis-ci.com/user/languages/android/
language: android
sudo: false
android:
components:
- build-tools-22.0.1
os:
- linux
- osx
before_install:
- export ANDROID_OS=$ANDROID_TARGET
- if [ "$JRUBY_JARS_VERSION" == "MASTER" ] || [ "$JRUBY_JARS_VERSION" == "STABLE" ] ; then rake get_jruby_jars_snapshots ; fi
- STABLE=`ls jruby-jars-*.gem | head -n 1 | cut -f 3 -d'-' | sed s/\\.gem//`
- MASTER=`ls jruby-jars-*.gem | tail -n 1 | cut -f 3 -d'-' | sed s/\\.gem//`
- if [ "$JRUBY_JARS_VERSION" == "MASTER" ] ; then export JRUBY_JARS_VERSION=$MASTER ; fi
- if [ "$JRUBY_JARS_VERSION" == "STABLE" ] ; then export JRUBY_JARS_VERSION=$STABLE ; fi
env:
global:
- DX_HEAP_SIZE=1290
- RUBOTO_UPDATE_EXAMPLES=0
matrix:
- ANDROID_TARGET=19 RUBOTO_PLATFORM=STANDALONE TEST_PART=1of5 JRUBY_JARS_VERSION=1.7.13
- ANDROID_TARGET=19 RUBOTO_PLATFORM=STANDALONE TEST_PART=2of5 JRUBY_JARS_VERSION=1.7.13
- ANDROID_TARGET=19 RUBOTO_PLATFORM=STANDALONE TEST_PART=3of5 JRUBY_JARS_VERSION=1.7.13
- ANDROID_TARGET=19 RUBOTO_PLATFORM=STANDALONE TEST_PART=4of5 JRUBY_JARS_VERSION=1.7.13
- ANDROID_TARGET=19 RUBOTO_PLATFORM=STANDALONE TEST_PART=5of5 JRUBY_JARS_VERSION=1.7.13
matrix:
fast_finish: true
allow_failures:
# Current master is failing: https://github.com/jruby/jruby/issues/1741
# Current JRuby 1.7.x gem is failing. Why?
script:
- ./run_tests.sh
notifications:
irc: "irc.freenode.org#ruboto"
webhooks:
urls:
- https://webhooks.gitter.im/e/fe0d532fe5bef5b7288c
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false