Sha256: 9c390a73443eb8733783a304feb99e3e10697f8f727a9eef1726f9f75be2a26d

Contents?: true

Size: 1.51 KB

Versions: 8

Compression:

Stored size: 1.51 KB

Contents

sudo: false
language: ruby
rvm:
  - 2.3.3
  # - 2.4.0

env:
  global:
    - BROWSER=chrome
  matrix:
    - DB=mysql
    - DB=postgres
    - DB=sqlite

matrix:
  exclude:
    - rvm: 2.3.3
      env: DB=mysql
    - rvm: 2.3.3
      env: DB=sqlite

addons:
  chrome: stable

bundler_args: --path=vendor/bundle --without heroku

cache: bundler

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

before_script:
  - sh -c "cp config/database.$DB.yml config/database.yml"
  - sh -c "if [ \"$DB\" = 'postgres' ]; then psql -c 'create database fat_free_crm_test;' -U postgres; fi"
  - sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database fat_free_crm_test;'; fi"
  - "RAILS_ENV=test bundle exec rake spec:preparedb"

# Run specs
script: 
  - "RAILS_ENV=test bundle exec rake spec:models"
  - "RAILS_ENV=test bundle exec rake spec:mailers"
  - "RAILS_ENV=test bundle exec rake spec:controllers"
  - "RAILS_ENV=test bundle exec rake spec:helpers"
  - "RAILS_ENV=test bundle exec rake spec:lib"
  - "RAILS_ENV=test bundle exec rake spec:mailers"
  - "RAILS_ENV=test bundle exec rake spec:routing"
  - "RAILS_ENV=test bundle exec rake spec:views"
  - "RAILS_ENV=test bundle exec rake spec:features"
  - "RAILS_ENV=test bundle exec rubocop"

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/859260451e154d78c1be
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.15.2 .travis.yml
fat_free_crm-0.16.4 .travis.yml
fat_free_crm-0.15.1 .travis.yml
fat_free_crm-0.16.3 .travis.yml
fat_free_crm-0.16.2 .travis.yml
fat_free_crm-0.16.1 .travis.yml
fat_free_crm-0.16.0 .travis.yml
fat_free_crm-0.15.0 .travis.yml