forked from oracle/truffleruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (38 loc) · 1002 Bytes
/
.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
language: java
sudo: false
cache:
directories:
- $HOME/.mx/cache
before_install:
- unset GEM_PATH GEM_HOME IRBRC
jdk: oraclejdk8
matrix:
include:
- env: JT='test specs :command_line'
- env: JT='test specs :language :security'
- env: JT='test specs :core_a'
- env: JT='test specs :core_b'
- env: JT='test specs :library'
- env: JT='test specs :truffle'
- env: JT='test integration'
- env: JT='test gems'
- env: JT='test tck'
- env: JT='lint' COMMAND='rvm install 2.1.0' SKIP_BUILD=true V=1
# Exlude the default job https://github.com/travis-ci/travis-ci/issues/4681
exclude:
- jdk: oraclejdk8
install:
- git clone https://github.com/graalvm/mx
- export PATH=$PWD/mx:$PATH
- echo MX_BINARY_SUITES=truffle,sdk >> mx.truffleruby/env
- echo JAVA_HOME=$JAVA_HOME >> mx.truffleruby/env
- if [ -z "$SKIP_BUILD" ]; then mx build --force-javac --warning-as-error; fi
- $COMMAND
script:
- tool/jt.rb $JT
services:
- redis-server
branches:
only:
- master
- /^try/