diff --git a/.travis.yml b/.travis.yml index 40ef2f948..371ea5180 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,5 +13,7 @@ before_install: - docker run -d --network="container:$varA" mongo - docker build -t ethereumclassic/explorer . - docker run -d --network="container:$varA" ethereumclassic/explorer app.js +before_script: npm install -g gulp script: -- npm run test + - gulp build + - npm run test diff --git a/Dockerfile b/Dockerfile index 3d95fcafd..3d24e69be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM node:latest COPY . / +RUN npm install -g gulp-cli RUN npm i +RUN gulp build EXPOSE 3000