Skip to content

Commit 6efdeaa

Browse files
authored
Merge pull request #144 from smalruby/issues/134_silent_build
suppress build message in TravisCI.
2 parents 5d7da5b + d8bb4b6 commit 6efdeaa

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ install:
1919
script:
2020
- npm run test:lint
2121
- npm run test:unit
22-
- npm run clean && $(npm bin)/webpack --colors --bail
22+
- npm run clean && $(npm bin)/webpack --colors --bail --silent
2323
- npm run test:integration
2424
deploy:
2525
- provider: script

src/playground/index.ejs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
</script>
1515
<!-- /Sentry -->
1616
<% } %>
17-
<script src="static/javascripts/opal.min.js" onload="Opal.load('opal')"></script>
17+
<script src="static/javascripts/opal.min.js"
18+
onload="Opal.load('opal');
19+
Opal.config.unsupported_features_severity = 'ignore';">
20+
</script>
1821
<script src="static/javascripts/opal-parser.min.js"
19-
onload="Opal.load('opal-parser'); Opal.load('parser'); Opal.load('parser/ruby23');
22+
onload="Opal.load('opal-parser');
23+
Opal.load('parser');
24+
Opal.load('parser/ruby23');
2025
Opal.Parser.CurrentRuby = Opal.Parser.Ruby23;">
2126
</script>
2227
</head>

test/helpers/opal-setup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if (typeof (window) !== 'undefined') {
66
globalObject = window;
77
}
88
globalObject.Opal = require('opal-runtime').Opal;
9+
globalObject.Opal.config.unsupported_features_severity = 'ignore';
10+
911
require('opal-compiler');
1012
globalObject.Opal.load('parser');
1113
globalObject.Opal.load('parser/ruby25');

0 commit comments

Comments
 (0)