Skip to content

Commit

Permalink
Update travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Indomitable committed Aug 7, 2019
1 parent a16491c commit 43b6378
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
root = true
[{*.js,*.ts}]
[*.*]
charset = utf-8
end_of_line = lf
[{*.js,*.ts}]
indent_size = 4
indent_style = space

43 changes: 27 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
language: node_js
node_js:
- "lts/*"
install:
- yarn --pure-lockfile
script:
- yarn build
- yarn test

deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
skip_cleanup: true # skip cleanup- if yarn build was forgotten.
on:
tags: true
language: node_js
node_js:
- "lts/*"

stages:
- install
- build
- test
- deploy

jobs:
include:
- stage: install
script: yarn --pure-lockfile
- stage: build
script: yarn build
- stage: test
script: yarn test
- stage: deploy
script: echo "Deploying to npm ..."
deploy:
provider: npm
email: [email protected]
api_key: $NPM_API_KEY
skip_cleanup: true # skip cleanup- if yarn build was forgotten.
on:
tags: true

0 comments on commit 43b6378

Please sign in to comment.