language: node_js
node_js:
  - "6"

install:
  - npm install -g angular-cli
  - npm install -g karma
  - npm install

before_script:
  - npm run pree2e
  - ng build --prod
  - ng serve --prod &
  - sleep 10

script:
  - ng lint
  - ng test --watch=false
  - node_modules/protractor/bin/protractor config/protractor.conf.js

before_deploy:
  - npm run package

deploy:
    edge: true
    provider: cloudfoundry
    api: https://api.run.pez.pivotal.io
    username: $CF_USERNAME
    password: $CF_PASSWORD
    organization: pivot-jsharpe
    space: known-for
    manifest: manifest.yml

language: node_js
node_js:
  - "6"

install:
  - npm install -g angular-cli
  - npm install -g karma
  - npm install

before_script:
  - npm run pree2e
  - ng serve --prod &
  - sleep 10

script:
  - ng lint
  - ng test --watch=false
  - node_modules/protractor/bin/protractor config/protractor.conf.js

before_deploy:
  - npm run package

deploy:
    edge: true
    provider: cloudfoundry
    api: https://api.run.pez.pivotal.io
    username: $CF_USERNAME
    password: $CF_PASSWORD
    organization: pivot-jsharpe
    space: known-for
    manifest: manifest.yml

Remove explicit build, which makes things unhappy.
Remove explicit build, which makes things unhappy.
