Merge branch 'master' into ci3 (#284)

This commit is contained in:
FrancescoUK
2016-01-22 14:57:25 +00:00
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ before_install:
- docker build -t jekkos/opensourcepos .
- docker run -d -p 127.0.0.1:80:80 jekkos/opensourcepos /bin/sh -c "cd /app; npm install"
- docker ps -a
- docker run jekkos/opensourcepos /bin/sh -c "cd /app; npm mochaWebdriver:test"
- docker run jekkos/opensourcepos /bin/sh -c "cd /app; grunt mochaWebdriver:test"
script:
- npm mochaWebdriver:test
- grunt mochaWebdriver:test

View File

@@ -14,7 +14,9 @@ RUN apt-get install -y python git
# Get latest Ospos source from Git
RUN git clone https://github.com/jekkos/opensourcepos.git /app
# RUN cd app && git checkout develop/2.4
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN cd app && npm install
RUN npm install -g grunt-cli
RUN ln -fs /app/* /var/www/html
ADD ./docker/start_container.sh /start_container.sh