Skip to content

Commit

Permalink
ci: set up CI tools
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Apr 30, 2019
1 parent 2b9e3f1 commit ce0b1fe
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
jobs:
build:
working_directory: /app
docker:
- image: docker:18.06.1-ce-git
steps:
- checkout
- setup_remote_docker
- run:
name: Build and push image to Docker Hub
command: apk --no-cache add curl bash && curl "https://raw.githubusercontent.com/pelias/ci-tools/master/build-docker-images.sh" | bash -
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: node_js
dist: xenial
notifications:
email: false
node_js:
- 8
- 10
matrix:
fast_finish: true
script: npm run travis
before_install:
- npm i -g npm
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: release
node_js: 10
script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash -
if: (branch = master) AND ( type = push )
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"test"
],
"release": {
"branch": "master",
"success": []
}
}

0 comments on commit ce0b1fe

Please sign in to comment.