diff --git a/.travis.yml b/.travis.yml index 5a392b8..7fb83ed 100755 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/bower.json b/bower.json index f92edb2..3d091e8 100755 --- a/bower.json +++ b/bower.json @@ -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" diff --git a/manifest.yml b/manifest.yml index e23f244..71e06d3 100644 --- a/manifest.yml +++ b/manifest.yml @@ -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: '*'