Skip to content

Commit

Permalink
Merge pull request #5 from nerdlabs/tav
Browse files Browse the repository at this point in the history
Run tests with all supported versions and automatically release on master merge
  • Loading branch information
ZauberNerd committed Jun 5, 2018
2 parents 8cd1410 + 5bba822 commit 21631b4
Show file tree
Hide file tree
Showing 8 changed files with 8,804 additions and 78 deletions.
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc

This file was deleted.

11 changes: 0 additions & 11 deletions .npmignore

This file was deleted.

11 changes: 11 additions & 0 deletions .tav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
recast-0-12:
name: react-docgen
versions: '>= 2.17.0 < 3.0.0 || >= 3.0.0-beta7 <= 3.0.0-beta10'
peerDependencies: recast@0.12.6
commands: npm run test:unit

recast-0-13:
name: react-docgen
versions: '>= 3.0.0-beta10 <= 3.0.0-beta12'
peerDependencies: recast@0.13.0
commands: npm run test:unit
23 changes: 18 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
sudo: required
language: node_js

node_js:
- 4
- 5
- stable
script:
- npm run test
- 6
- 8
- 10

script: npm run test

jobs:
include:
- stage: release
node_js: lts/*
script: npm run build
deploy:
provider: script
skip_cleanup: true
script: npx semantic-release
on:
branch: master

0 comments on commit 21631b4

Please sign in to comment.