Skip to content

Commit 840c7cf

Browse files
committed
Add documentation for testing with TruffleRuby
1 parent 14849a6 commit 840c7cf

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

user/languages/ruby.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ language: ruby
2222
rvm:
2323
- 2.2
2424
- jruby
25+
- truffleruby
2526
- 2.0.0-p247
2627
```
2728
{: data-file=".travis.yml"}
@@ -46,6 +47,7 @@ language: ruby
4647
rvm:
4748
- 2.2
4849
- jruby
50+
- truffleruby
4951
- 2.0.0-p247
5052
```
5153
{: data-file=".travis.yml"}
@@ -79,6 +81,23 @@ rvm:
7981
```
8082
{: data-file=".travis.yml"}
8183

84+
### TruffleRuby
85+
86+
To test with [TruffleRuby](https://github.com/oracle/truffleruby), simply add
87+
`truffleruby` or `truffleruby-VERSION` to your `.travis.yml`:
88+
```yaml
89+
language: ruby
90+
rvm:
91+
- truffleruby # latest release
92+
# or
93+
- truffleruby-1.0.0-rc9 # specific version
94+
```
95+
{: data-file=".travis.yml"}
96+
97+
See the [TruffleRuby releases](https://github.com/oracle/truffleruby/releases)
98+
page for a list of release versions.
99+
Please file any issue on [GitHub](https://github.com/oracle/truffleruby/issues).
100+
82101
### JRuby: C extensions are not supported
83102

84103
Please note that **C extensions are not supported in JRuby** on Travis CI. The

0 commit comments

Comments
 (0)