forked from 19wu/19wu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 910 Bytes
/
.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
language: ruby
bundler_args: --without production development
script: bundle exec rake travis:script
before_install_disabled:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- "export DISPLAY=:99.0"
- "export JASMINE_BROWSER=firefox"
before_script:
- "bundle exec rake travis:before_script"
env:
- DATABASE=pg
- DATABASE=sqlite3
- DATABASE=mysql2
rvm:
- 1.9.3
- 2.0.0
#- ruby-head # will cause timeout
matrix:
include:
- rvm: jruby-19mode
jdk: openjdk7
env:
- DATABASE=pg
- TIMEOUT=1000
- JRUBY_OPTS="-Xcext.enabled=true"
# jruby alwyas fails by unknown causes.
allow_failures:
- rvm: jruby-19mode
jdk: openjdk7
env:
- DATABASE=pg
- TIMEOUT=1000
- JRUBY_OPTS="-Xcext.enabled=true"