File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,21 @@ branches:
25
25
- master
26
26
27
27
matrix :
28
+ include :
29
+ - rvm : jruby-head
30
+ jdk : oraclejdk8
31
+ env : TRUFFLE=1
28
32
allow_failures :
29
33
- rvm : ruby-head
30
34
- rvm : jruby-head
31
35
- rvm : 1.9.3
32
36
- rvm : rbx-2
37
+ - rvm : jruby-head
38
+ jdk : oraclejdk8
39
+ env : TRUFFLE=1
33
40
34
41
before_script :
35
42
- " echo $JAVA_OPTS"
36
43
- " export JAVA_OPTS=-Xmx1024m"
37
44
38
- script : RUBYOPT=-w bundle exec rake ci
45
+ script : if [[ -v TRUFFLE ]]; then support/test-truffle.sh; else RUBYOPT=-w bundle exec rake ci; fi
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ jruby+truffle setup || exit $?
4
+
5
+ OVERALL_EXIT_CODE=0
6
+
7
+ for SPEC in atomic \
8
+ channel \
9
+ collection \
10
+ concern \
11
+ executor \
12
+ thread_safe \
13
+ utility \
14
+ * _spec.rb
15
+ do
16
+ NO_COVERAGE=1 jruby+truffle --no-use-fs-core --verbose run -S rspec -- \
17
+ -J-Xmx2G -- spec/concurrent/$SPEC --format documentation \
18
+ --tag ~ unfinished --seed 1 --tag ~ notravis --tag ~ buggy --tag ~ truffle_bug
19
+ EXIT_CODE=$?
20
+ if [[ $EXIT_CODE != 0 ]]
21
+ then
22
+ OVERALL_EXIT_CODE=1
23
+ fi
24
+ done
25
+
26
+ exit $OVERALL_EXIT_CODE
You can’t perform that action at this time.
0 commit comments