sudo: false # see: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
language: ruby
rvm:
  - "2.2.6"

dist: precise

before_install:
  - gem update bundler
  - nvm install node
  - npm install jest

before_script:
  - cp config/database.travis.yml config/database.yml
  - cp config/app_environment_variables.sample.rb config/app_environment_variables.rb
  - mysql -e 'create database lara_test;'
  - bundle exec rake db:migrate

# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rake && bundle exec rake jasmine:ci && npx jest --config jest/jest.travis-config.js

cache: bundler

bundler_args: --without development

# blacklist - these branches aren't feature branches and shouldn't be getting direct commits
branches:
  except:
    - staging
    - production

sudo: false # see: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
language: ruby
rvm:
  - "2.2.6"

dist: precise

before_install:
  - gem update bundler
  - nvm install node

before_script:
  - cp config/database.travis.yml config/database.yml
  - cp config/app_environment_variables.sample.rb config/app_environment_variables.rb
  - mysql -e 'create database lara_test;'
  - bundle exec rake db:migrate

# uncomment this line if your project needs to run something other than `rake`:
script:
  - bundle exec rake
  - bundle exec rake jasmine:ci
  - cd lara-plugin-api && npm i && npm run test

cache: bundler

bundler_args: --without development

# blacklist - these branches aren't feature branches and shouldn't be getting direct commits
branches:
  except:
    - staging
    - production

Update TravisCI config (jest tests)
Update TravisCI config (jest tests)

[#165062314]
