Commit 8f2e8ecf authored by Benjamin Chodoroff's avatar Benjamin Chodoroff

also fix circleci test routine

parent 59f61260
......@@ -9,23 +9,28 @@ jobs:
- run: docker build .
test:
docker:
- image: node:9-alpine
- image: node:10-alpine
steps:
- run:
>
apk add --no-cache
bash build-base fftw-dev git make python
- run:
>
apk add --no-cache
--repository https://dl-3.alpinelinux.org/alpine/edge/main
--repository http://dl-3.alpinelinux.org/alpine/edge/testing
bash build-base fftw-dev git make python vips-dev
vips-dev
- checkout
- restore_cache:
keys:
- node9-dependencies-{{ checksum "yarn.lock" }}
- node9-dependencies-
- node10-dependencies-{{ checksum "yarn.lock" }}
- node10-dependencies-
- run: yarn install --frozen-lockfile
- save_cache:
paths:
- node_modules
key: node9-dependencies-{{ checksum "yarn.lock" }}
key: node10-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test
- store_test_results:
path: reports
......
FROM node:9-alpine as build-stage
FROM node:10-alpine as build-stage
WORKDIR /app
......@@ -32,7 +32,7 @@ RUN make lib ci-test
RUN yarn install --non-interactive --frozen-lockfile --production
# copy built application to runtime image
FROM node:9-alpine
FROM node:10-alpine
WORKDIR /app
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing \
fftw vips
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment