-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
109 lines (80 loc) · 2.04 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
language: ruby
sudo: false
dist: trusty
addons:
chrome: stable
branches:
only:
- master
- /^.*-stable$/
- /^.*ci-check$/
cache:
bundler: true
directories:
- /home/travis/.nvm/
- smoke_test_opal_rspec
matrix:
fast_finish: true
include:
- rvm: 2.5.0
env: RUN=mspec_opal_chrome
- rvm: 2.5.0
env: RUN=mspec_ruby_chrome
# - rvm: 2.5.0
# env:
# - RUN=browser_test
# - SAUCE_USERNAME=elia
# # SAUCE_ACCESS_KEY:
# - secure: GT13SjzU8vmqKIyY2LAXje+ndqevTsX/w71JkZHRLTrDUl0qcIod7xsfahbzGt2gOZPYZUkKiVaPoUenhc/YeJ2jTJVHeHY9UEl2II+3tOtuvp2jLadA//aBbsB6/09d7lIZMzpa93TL2R/SncPxugYW9v2o8o8Lwd2iIzowT/g=
- rvm: 2.5.0
env: RUN=jshint
- rvm: 2.5.0
env: RUN=rubocop
- rvm: 2.5.0
env: RUN=mspec_opal_nodejs
- rvm: 2.5.0
env: RUN=mspec_ruby_nodejs TZ="/usr/share/zoneinfo/Pacific/Fiji"
- rvm: 2.5.0
env: RUN=minitest
- rvm: 2.5.0
env: RUN=rspec RACK_VERSION='~> 2.0.0' CHECK_COVERAGE=true
- rvm: 2.5.0
env: RUN=smoke_test
- rvm: ruby-head
env: RUN=rspec
- rvm: 2.4.3
env: RUN=rspec RACK_VERSION='~> 2.0.0'
- rvm: 2.3.6
env: RUN=rspec
- rvm: 2.2.9
env: RUN=rspec TILT_VERSION=2.0.1 SPROCKETS_VERSION='~> 3.7'
- rvm: 2.1.10
env: RUN=rspec RACK_VERSION='< 2.0'
- rvm: jruby-9.1.7.0
env: RUN=rspec
- rvm: jruby-head
env: RUN=rspec
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- env: RUN=smoke_test
before_install:
# Keep track of which version of node we're running the specs against
- node -v
- git submodule update --init
- npm install -g jshint
- npm install -g uglify-js
- type bundle || gem install bundler
- bundle config without doc
- which google-chrome-stable
- google-chrome-stable --version
- export RUBYOPT=-w
script:
- "bundle exec rake $RUN"
notifications:
irc: "irc.freenode.org#opal"
webhooks:
urls:
- https://webhooks.gitter.im/e/2ea12333adebda0c2289
# addons:
# sauce_connect: true