Skip to content

Commit

Permalink
ci: add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Jblew committed Mar 12, 2019
1 parent b20a87e commit a8d9fe8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dist: xenial
language: node_js

install:
- npm ci

script:
- npm run build
- npm run test
- echo "sleep random number of seconds 1-10 to prevent blockchain collisions" && sleep "$(( ( RANDOM % 10 ) + 1 ))"
- npm run verify

deploy:
- provider: script
script: npx semantic-release
skip_cleanup: true
on:
tags: false
all_branches: true

0 comments on commit a8d9fe8

Please sign in to comment.