Skip to content

Commit

Permalink
Merge pull request #129 from danger/deploy_travis
Browse files Browse the repository at this point in the history
Support deploying via travis
  • Loading branch information
orta committed Jan 30, 2017
2 parents d95838e + 1fe4e5a commit 67a18d6
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
language: node_js

cache:
yarn: true
directories:
- node_modules

- node_modules
matrix:
include:
- node_js: "node"
before_script:
- npm run build
- npm run link
- danger
- node_js: "6"
- node_js: "7"

- node_js: node
before_script:
- npm run build
- npm run link
- danger
- node_js: '6'
- node_js: '7'
script:
- npm run lint
- npm test -- --coverage --no-cache && rm ./coverage/coverage-final.json

- npm run lint
- npm test -- --coverage --no-cache && rm ./coverage/coverage-final.json
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: npm
email: orta.therox+dangernpm@gmail.com
api_key:
secure: MCHGI1GAiqyYsKaA9MGsmHOCAthURv8ECSeYSZJ5UpFng0FSslVBpNZ6xQSu3tETLHfqIb4y0PqS42xH+AsJh8j0z9B3Y9e4NvwCOnJBzw7qJNUm1RM0smYDkwqYDVlqRgjHoh3phi7zPOeEogpz0n+uEGHnpckNA1GpZvdIFef7oaEViRoDKxP0lZj5oV9Isdm7HLSYPXyCYqhgygr7qnHYyFBqd3h0Iw3w2/fg+IBet9Td8oCEpUAHe7WjeUmzgRF0FVKlC2d1kfJVYjx1qGKHh0F5Kmg1GE2xwM/QBwzBlq12XtnSLwi70MLjoUa+Y2m2T+A6vuoLb7OqwDsHp/plTfrfBD5Quqmnc5Hdh71MHWPz/OPtsyZkfLMdutvlM9BmM/7HR46+HrBMe7eNOCj79MsNCWRXdOWpEWrK7BLXtignfDFOUM+renDgBsuxvEaryQ8QxgbIudEqaJ0+kzGIpzHFQGnNXwAXZOz9Q38+CZds2J7mwz7RSTFipNqsyBFZbREmGdupyUgPalXLp0hjxu8y15atVPZAYxuLv2Wt2NXiuyf3HbO9uwwRWbat+nCThF+fmQmcgTrE4BlHvTiy4FIzve5nlBaEiWAOanIMFoSjs4Co9o16sZ0yZZS/1a2SgfLdCuFvYKmvUsqBcCcaypXBpqxvZMwTFA6oPQQ=
on:
repo: danger/danger-js

0 comments on commit 67a18d6

Please sign in to comment.