forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (55 loc) · 1.56 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
50
51
52
53
54
55
56
57
58
59
60
61
62
language: java
before_script:
- unset GEM_PATH GEM_HOME IRBRC
- "export PATH=`pwd`/bin:$PATH"
jdk:
- oraclejdk7
- oraclejdk8
env:
matrix:
- TARGET='-Ptest'
- TARGET='-Prake -Dtask=test:extended'
- TARGET='-Prake -Dtask=spec:ci_interpreted_travis'
- TARGET='-Prake -Dtask=spec:ci_interpreted_ir_travis'
- TARGET='-Prake -Dtask=spec:ir'
- TARGET='-Ptruffle'
matrix:
include:
# these profile do no need to run for all JDKs
- env: TARGET='-Pdist'
jdk: oraclejdk8
- env: TARGET='-Pjruby-jars'
jdk: oraclejdk7
- env: TARGET='-Pmain'
jdk: oraclejdk7
- env: TARGET='-Pcomplete'
jdk: oraclejdk8
fast_finish: true
allow_failures:
- env: TARGET='-Prake -Dtask=spec:ci_interpreted_ir_travis'
branches:
only:
- master
- jruby-1_7
- /^test-.*$/
before_install:
- if [[ $TRAVIS_JDK_VERSION = 'oraclejdk8' ]]; then sudo apt-get update; sudo apt-get install oracle-java8-installer; else true; fi
# the install stores the artifact in the localrepo for
# the second maven run with $TARGET
script: ( mvn install -Pbootstrap | grep -v Down ) && mvn -Dinvoker.skip=false $TARGET
install: /bin/true
notifications:
irc:
channels:
- "irc.freenode.org#jruby"
on_success: change
on_failure: always
template:
- "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})"
# update jruby-head installed on Travis CI
webhooks:
urls:
- "https://rubies.travis-ci.org/rebuild/jruby-head"
# we are on a branch
#on_success: always
on_failure: never