Skip to content

Commit

Permalink
updated travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jonniespratley committed Dec 26, 2016
1 parent bc1136d commit 6f92914
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 25 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
language: node_js
node_js:
- '0.10'
- 'v7.0.0'
before_script:
- 'npm install -g bower grunt-cli'
# - 'npm install -g bower grunt-cli'
- 'bower install'
- 'grunt -f -v'
#- sleep 2
#- 'grunt serve'
after_script:
- cat coverage/**/lcov.info | codeclimate
deploy:
provider: heroku
api_key: '6ac65b88-dd6d-421f-9fc7-c9ae18f71cb4'
on:
all_branches: true
addons:
code_climate:
repo_token: 0c38fe0d4c6cc50053304b8cd4859d74624619e2707280ac9287be548e905404
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"angular-cookies": "~1.2.21",
"angular-animate": "~1.2.21",
"angular-sanitize": "~1.2.21",
"angular-form-gen": "~0.0.2"
"angular-form-gen": "~0.0.2",
"pouchdb": "~3.6.0"
},
"devDependencies": {
"angular-mocks": "~1.2.21"
Expand Down
30 changes: 13 additions & 17 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: angular-cms
framework: node
instances: 1
mem: 256
processes:
web: node server.js
ignores: ['.git', 'node_modules', 'app/bower_components']
hooks:
# pre-push:
#- gulp test
pre-staging:
- bower install
- grunt
# post-staging:
#- python manage.py syncdb --noinput
# pre-running:
#- python prerunsetup.py
---
applications:
- name: angular-cms
buildpack: https://github.com/cloudfoundry/heroku-buildpack-nodejs.git
#memory: 256MB
stack: cflinuxfs2
path: .
command: node server.js
services:
- my_uaa_instance
env:
NODE_ENV: 'production'
DEBUG: '*'

0 comments on commit 6f92914

Please sign in to comment.