Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ node_js:

before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq --yes python3 php5-curl php5-cli
- sudo apt-get install -qq php7.0 php7.0-curl php7.0-cli

after_script:
- npm run codeclimate
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# specify the node base image with your desired version node:<version>
FROM node:8

ADD . /src
WORKDIR /src

RUN apt-get update -qq
RUN apt-get install -qq php7.0 php7.0-curl php7.0-cli
RUN apt-get install -qq --yes python3
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: '3'
services:
httpsnippet:
build: .
command: [npm, test]