From a8d9fe8e2d4be095f400d491b663ec306ce18bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Lewandowski?= Date: Tue, 12 Mar 2019 16:20:29 +0100 Subject: [PATCH] ci: add travis --- .travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1c68a21 --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file