Launch webdriver test in docker container

This commit is contained in:
jekkos
2016-01-25 09:34:10 +01:00
parent 2520970698
commit f063aa16a8

View File

@@ -10,8 +10,8 @@ services:
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 run -d jekkos/opensourcepos /bin/sh -c "cd /app; npm install"
- docker ps -a
script:
- grunt mochaWebdriver:test
- docker run -d -p 127.0.0.1:80:80 jekkos/opensourcepos /bin/sh -c "cd /app; grunt mochaWebdriver:test"