Skip to content

Commit

Permalink
Merge pull request #298 from bigkraig/next
Browse files Browse the repository at this point in the history
Dropped node version back to 8.9.0 while it is still in Maintenance LTS
  • Loading branch information
jdalrymple committed Apr 10, 2019
2 parents 226c14c + f231200 commit f7fac22
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
34 changes: 24 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,35 @@ stages:
notifications:
email: false

node_js: 10.15.3

jobs:
include:
- stage: lint
node_js: 10.15.3
script:
- npm run lint

- stage: build

- &build
stage: build
node_js: 10.15.3
script:
- npm run build

- stage: test
name: 'Unit Tests'
- <<: *build
node_js: 8.9.0

- &test-unit
stage: test
node_js: 10.15.3
name: 'Unit Tests 10.15.3'
script:
- npm run test:unit

- stage: test
name: 'Integration Tests'
- <<: *test-unit
name: 'Unit Tests 8.9.0'
node_js: 8.9.0

- &test-integration
stage: test
node_js: 10.15.3
name: 'Integration Tests 10.15.3'
before_script:
## Spin up container
- cd test/docker/
Expand All @@ -43,7 +53,11 @@ jobs:
- echo $PERSONAL_ACCESS_TOKEN
script:
- npm run test:integration
- <<: test-integration
name: 'Integration Tests 8.9.0'
node_js: 8.9.0

- stage: release
node_js: 10.15.3
script:
- npm run release
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prepublishOnly": "npm run build",
"prepush": "npm run lint",
"release": "semantic-release",
"test": "jest --debug --runInBand && codecov",
"test": "jest test/unit --debug --runInBand && codecov",
"test:unit": "jest test/unit",
"test:integration": "jest test/integration"
},
Expand Down Expand Up @@ -88,6 +88,6 @@
"browser"
],
"engines": {
"node": ">=10.0.0"
"node": ">=8.9.0"
}
}

0 comments on commit f7fac22

Please sign in to comment.