Skip to content

Commit

Permalink
added travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
bn committed Nov 22, 2019
1 parent 26d1dfa commit dedc355
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

# install some dependecies
COPY package.json .
COPY .npmrc .
#COPY .npmrc .
RUN npm install

# copy the rest
Expand Down

0 comments on commit dedc355

Please sign in to comment.