Skip to content

Commit

Permalink
fix: general improvements (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ipso committed Oct 30, 2018
1 parent 84bd26e commit 324adb4
Show file tree
Hide file tree
Showing 7 changed files with 3,441 additions and 2,783 deletions.
1 change: 1 addition & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ module.exports = {
],
'@babel/preset-flow',
],
plugins: ['@babel/plugin-proposal-object-rest-spread'],
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"hireable": null,
"bio": "Engineer and programmer focused on online applications.",
"public_repos": 67,
"public_gists": 35,
"public_gists": 36,
"followers": 90,
"following": 45,
"created_at": "2011-10-20T14:27:43Z",
Expand Down
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
language: node_js
node_js: lts/carbon
cache:
directories:
- node_modules
- .tmp
- ~/.npm
notifications:
email: false
before_install:
- git fetch --tags
- git fetch origin --tags

stages:
- name: test
# require the event type to not be a semantic release tag.
if: NOT tag =~ ^v\d+\.\d+\.\d+$
- name: release
if: branch = master AND fork = false AND type IN (push, api)

jobs:
include:
-
stage: test
node_js: 'lts/carbon'
script:
- npm run lint
- npm run flow
- npm run test-ci
after_success:
- npm install --no-save coveralls
# Report coverage to coveralls.io
- cat ./__coverage__/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- rm -fr ./__coverage__

-
stage: deploy
if: branch = master
# Semantic release will fail if it's not using node 8.
node_js: 'lts/carbon'
script: npm run semantic-release
stage: release
script:
- npm run semantic-release

0 comments on commit 324adb4

Please sign in to comment.