language: ruby
sudo: false
cache: bundler
branches:
  only:
  - master
rvm:
- 2.3.0
before_install:
- openssl aes-256-cbc -K $encrypted_f7320bcbcc32_key -iv $encrypted_f7320bcbcc32_iv
  -in secrets.yml.enc -out config/secrets.yml -d
before_script:
- npm install -g bower
- cd frontend
- npm install -g ember-cli
- npm install
- bower install
- npm install --save-dev ember-cli-rails-addon
- ember install ember-cli-simple-auth
- ember install ember-cli-simple-auth-devise
- npm install ember-moment
- npm install
- cd ..
- bundle exec rake db:migrate
- bundle exec rake db:seed
script:
- bundle exec rake test
- cd frontend
- ember test
addons:
  code_climate:
    repo_token: c3055c2ba9d4366d62a766320aad9097184a33532676588a5fd68536f85dc048
#nodejs and npm not apt whitelisted... Check again if build fails due to nodejs deprecations on Travis CI.
#  apt:
#    sources:
#    - nodejs:
#      - "0.12"
#    - npm

language: ruby
sudo: false
cache: bundler
branches:
  only:
  - master
rvm:
- 2.3.0
before_install:
- openssl aes-256-cbc -K $encrypted_f7320bcbcc32_key -iv $encrypted_f7320bcbcc32_iv
- in secrets.yml.enc -out config/secrets.yml -d
- nvm install 5.4
- nvm use 5.4
before_script:
- npm install -g bower
- cd frontend
- npm install -g ember-cli
- npm install
- bower install
- npm install --save-dev ember-cli-rails-addon
- npm install
- cd ..
- bundle exec rake db:migrate
- bundle exec rake db:seed
script:
- bundle exec rake test
- cd frontend
- ember test
addons:
  code_climate:
    repo_token: c3055c2ba9d4366d62a766320aad9097184a33532676588a5fd68536f85dc048

Solve ELIFECYCLE on Docker Deployment... Or try to watch South Park while it is building!
Solve ELIFECYCLE on Docker Deployment... Or try to watch South Park while it is building!
