From dedc3557d490750124a8f14281660c1880bc80d7 Mon Sep 17 00:00:00 2001 From: bn Date: Fri, 22 Nov 2019 12:15:28 +0200 Subject: [PATCH] added travis file --- .travis.yml | 10 ++++++++++ Dockerfile.dev | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8c15e92 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: generic +sudo: required +services: + - docker + +before_install: + - docker build -t bn/docker-react -f Dockerfile.dev . + +script: + - docker run -e CI=true bn/docker-react npm run test diff --git a/Dockerfile.dev b/Dockerfile.dev index 474f0b1..953f0b8 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -6,7 +6,7 @@ WORKDIR /app # install some dependecies COPY package.json . -COPY .npmrc . +#COPY .npmrc . RUN npm install # copy the rest