pipeline:
  tests:
    image: redmineup/redmine_contacts_helpdesk
    commands:
      - service postgresql start && service mysql start && sleep 5
      - export PATH=~/.rbenv/shims:$PATH
      - export CODEPATH=`pwd`
      - /root/run_for.sh redmine_contacts_helpdesk ${RUBY_VER} ${DB} ${REDMINE} redmine_contacts+${LICENSE}
matrix:
  include:
    - RUBY_VER: ruby-2.2.6
      LICENSE: pro
      DB: mysql
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-2.2.6
      LICENSE: light
      DB: mysql
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-2.2.6
      LICENSE: pro
      DB: pg
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-2.2.6
      LICENSE: light
      DB: pg
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-2.2.6
      LICENSE: pro
      DB: mysql
      REDMINE: redmine-3.0
    - RUBY_VER: ruby-1.8.7
      DB: pg
      LICENSE: pro
      REDMINE: redmine-2.3
    - RUBY_VER: ruby-1.8.7
      DB: pg
      LICENSE: pro
      REDMINE: redmine-2.6
    - RUBY_VER: ruby-1.8.7
      DB: mysql
      LICENSE: pro
      REDMINE: redmine-2.3
    - RUBY_VER: ruby-1.8.7
      DB: mysql
      LICENSE: pro
      REDMINE: redmine-2.6
    - RUBY_VER: ruby-1.9.3
      DB: pg
      LICENSE: pro
      REDMINE: redmine-2.3
    - RUBY_VER: ruby-1.9.3
      DB: pg
      LICENSE: pro
      REDMINE: redmine-2.6
    - RUBY_VER: ruby-1.9.3
      DB: pg
      LICENSE: pro
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-1.9.3
      DB: mysql
      LICENSE: pro
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-1.9.3
      DB: pg
      LICENSE: light
      REDMINE: redmine-3.3
    - RUBY_VER: ruby-1.8.7
      DB: pg
      LICENSE: light
      REDMINE: redmine-2.3
    - RUBY_VER: ruby-1.8.7
      DB: pg
      LICENSE: light
      REDMINE: redmine-2.6
    # - RUBY_VER: ruby-2.4.1
    #   DB: mysql
    #   LICENSE: pro
    #   REDMINE: redmine-trunk
    # - RUBY_VER: ruby-2.4.1
    #   DB: mysql
    #   LICENSE: light
    #   REDMINE: redmine-trunk
    # - RUBY_VER: ruby-2.4.1
    #   DB: pg
    #   LICENSE: pro
    #   REDMINE: redmine-trunk
    # - RUBY_VER: ruby-2.2.6
    #   DB: mysql
    #   LICENSE: pro
    #   REDMINE: redmine-trunk
