Browse Source

Merge pull request #1227 from pelias/update-ci-and-nodej

Update CI and Node.js
master v3.36.0
Julian Simioni 6 years ago committed by GitHub
parent
commit
6f20209ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .circleci/config.yml
  2. 3
      .travis.yml
  3. 4
      README.md
  4. 4
      package.json

2
.circleci/config.yml

@ -9,4 +9,4 @@ jobs:
- setup_remote_docker
- run:
name: Build and push image to Docker Hub
command: apk --no-cache add curl && curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | sh -
command: apk --no-cache add curl bash && curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | bash -

3
.travis.yml

@ -3,7 +3,6 @@ language: node_js
notifications:
email: false
node_js:
- 6
- 8
- 10
matrix:
@ -19,4 +18,4 @@ jobs:
- stage: release
node_js: 10
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
if: branch = production
if: (branch = master) AND ( type = push )

4
README.md

@ -17,7 +17,9 @@ Full documentation for the Pelias API lives in the [pelias/documentation](https:
## Install Dependencies
Note: Pelias requires Node.js v6 or newer
The Pelias API has no dependencies beyond Node.js
See [Pelias Software requirements](https://github.com/pelias/documentation/blob/master/requirements.md) for the supported and recommended versions.
```bash
npm install

4
package.json

@ -33,7 +33,7 @@
"url": "https://github.com/pelias/api/issues"
},
"engines": {
"node": ">=6.0.0"
"node": ">=8.0.0"
},
"dependencies": {
"@mapbox/geojson-extent": "^0.3.1",
@ -85,7 +85,7 @@
"test"
],
"release": {
"branch": "production",
"branch": "master",
"success": []
}
}

Loading…
Cancel
Save