Skip to content

Commit

Permalink
Merge 6145ba4 into 53a6308
Browse files Browse the repository at this point in the history
  • Loading branch information
srepollock committed Feb 15, 2019
2 parents 53a6308 + 6145ba4 commit 77103d7
Show file tree
Hide file tree
Showing 8 changed files with 2,624 additions and 9,060 deletions.
14 changes: 0 additions & 14 deletions .babelrc

This file was deleted.

8 changes: 2 additions & 6 deletions .nycrc
Expand Up @@ -12,11 +12,7 @@
"lib"
],
"reporter": [
"text-lcov",
"lcov",
"text-summary"
],
"cache": true,
"sourceMap": false,
"instrument": false
}
"all": true
}
68 changes: 27 additions & 41 deletions .travis.yml
Expand Up @@ -8,46 +8,32 @@ dist: trusty
sudo: required
node_js:
- "stable"
- "10"
- "9"
stages:
- |
setup
test
document
name: deploy
if: branch = master
name: release
if: branch = master
jobs:
include:
- stage: setup
script:
- npm i -g typescript@latest
- npm i -g coveralls
- stage: test
name: "Run unit and smoke tests"
script: npm run test:all
script: npm run smoketest
name: "Run smoketests"
- stage: document
name: "Generate API documents"
script: npm run docs
- stage: deploy
name: "Deploy Github Pages"
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
on:
branch: master
script: npm run coverage
- stage: release
after_success:
- npm run semantic-release
- 10
- 9
- 8
env:
- BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) NODE_ENV=$(if [ "$BRANCH" == "master" ]; then echo production; else echo development; fi)
before_install:
- npm i -g coveralls
install:
- npm install
script:
- npm run test
- npm run docs
- npm run coverage
after_success:
- npm run semantic-release
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
on:
branch: master
condition: $NODE_ENV = production
branches:
except:
- /^v\d+\.\d+\.\d+$/
only:
- master
git:
depth: 3
depth: 1
quiet: true
4 changes: 4 additions & 0 deletions mocha.opts
@@ -0,0 +1,4 @@
--require ts-node/register
--watch-extensions ts,tsx
--timeout 15000
--exit

0 comments on commit 77103d7

Please sign in to comment.