@@ -16,11 +16,23 @@ truffleruby-VERSION-linux-amd64.tar.gz
16
16
truffleruby-VERSION-macos-amd64.tar.gz
17
17
```
18
18
19
+ ## Testing TruffleRuby in TravisCI
20
+
21
+ TruffleRuby is now integrated in TravisCI.
22
+ Just add ` truffleruby ` in the build matrix, such as:
23
+
24
+ ``` yaml
25
+ language : ruby
26
+ rvm :
27
+ - 2.6.0
28
+ - truffleruby
29
+ ` ` `
30
+
31
+ See https://docs.travis-ci.com/user/languages/ruby#truffleruby for details.
32
+ Please [report](https://github.com/oracle/truffleruby/issues) any issue you might find while testing with TruffleRuby.
33
+
19
34
## Testing TruffleRuby in CI
20
35
21
- The standalone distributions are also useful for testing, for instance to test
22
- TruffleRuby in your continuous integration system. If you use TravisCI,
23
- [ see below] ( #testing-truffleruby-in-travisci ) .
24
36
If you use another continuous integration system, you can follow these
25
37
instructions to run TruffleRuby in CI.
26
38
@@ -45,34 +57,6 @@ TruffleRuby uses the correct `GEM_HOME` and `GEM_PATH`. This is the reason for
45
57
See [Using TruffleRuby without a Ruby manager](ruby-managers.md#using-truffleruby-without-a-ruby-manager)
46
58
for details.
47
59
48
- ## Testing TruffleRuby in TravisCI
49
-
50
- For TravisCI, we
51
- [ plan to integrate] ( https://github.com/travis-ci/travis-ci/issues/9803 )
52
- directly so one could just use ` rvm: truffleruby ` in the build matrix.
53
- However, this is not complete yet. In the meantime, the following example
54
- configuration can be used.
55
-
56
- Set ` TRUFFLERUBY_VERSION ` to the latest TruffleRuby version from
57
- [ GitHub releases] ( https://github.com/oracle/truffleruby/releases ) .
58
-
59
- ``` yaml
60
- script :
61
- - bundle exec rspec
62
- matrix :
63
- include :
64
- - rvm : 2.5.1
65
- - name : TruffleRuby
66
- rvm : system
67
- install :
68
- - export TRUFFLERUBY_VERSION=<desired_version>
69
- - curl -L https://github.com/oracle/truffleruby/releases/download/vm-$TRUFFLERUBY_VERSION/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64.tar.gz | tar xz
70
- - export PATH="$PWD/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64/bin:$PATH"
71
- - $PWD/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64/lib/truffle/post_install_hook.sh
72
- - gem install bundler
73
- - bundle install
74
- ` ` `
75
-
76
60
# # Dependencies
77
61
78
62
[TruffleRuby's dependencies](../../README.md#dependencies) need to be installed
0 commit comments