To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .travis.yml @ 1555:1786830cc35d

History | View | Annotate | Download (1.3 KB)

1
# Redmine runs tests on own continuous integration server.
2
# http://www.redmine.org/projects/redmine/wiki/Continuous_integration
3
# You can also run tests on your environment.
4
language: ruby
5
rvm:
6
  - 1.8.7
7
  - 1.9.2
8
  - 1.9.3
9
  - 2.0
10
  - 2.1
11
  - jruby
12
matrix:
13
  allow_failures:
14
    # SCM tests fail randomly due to IO.popen().
15
    # https://github.com/jruby/jruby/issues/779
16
    - rvm: jruby
17
env:
18
  - "TEST_SUITE=units       DATABASE_ADAPTER=postgresql"
19
  - "TEST_SUITE=functionals DATABASE_ADAPTER=postgresql"
20
  - "TEST_SUITE=integration DATABASE_ADAPTER=postgresql"
21
  - "TEST_SUITE=units       DATABASE_ADAPTER=mysql"
22
  - "TEST_SUITE=functionals DATABASE_ADAPTER=mysql"
23
  - "TEST_SUITE=integration DATABASE_ADAPTER=mysql"
24
  - "TEST_SUITE=units       DATABASE_ADAPTER=sqlite3"
25
  - "TEST_SUITE=functionals DATABASE_ADAPTER=sqlite3"
26
  - "TEST_SUITE=integration DATABASE_ADAPTER=sqlite3"
27
before_install:
28
  - "sudo apt-get update -qq"
29
  - "sudo apt-get --no-install-recommends install bzr cvs git mercurial subversion"
30
script:
31
  - "SCMS=bazaar,cvs,subversion,git,mercurial,filesystem"
32
  - "export SCMS"
33
  - "git --version"
34
  - "bundle install"
35
  - "RUN_ON_NOT_OFFICIAL='' RUBY_VER=1.9 BRANCH=trunk bundle exec rake config/database.yml"
36
  - "bundle install"
37
  - "JRUBY_OPTS=-J-Xmx1024m bundle exec rake ci"
38
notifications:
39
  email: false