removed PhantomJS in favor of ChromeHeadless and upgraded Karma, removed Karma tests from Dockerfile
This commit is contained in:
parent
d1a7a54038
commit
e1210cd6df
9 changed files with 266 additions and 496 deletions
|
@ -75,6 +75,13 @@ karma-tests:
|
|||
<<: *job
|
||||
stage: unit-tests
|
||||
script:
|
||||
# Install Chrome
|
||||
- set -xe
|
||||
- curl -Ss https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
|
||||
- apt-get update -yqqq
|
||||
- apt-get install -y google-chrome-stable
|
||||
|
||||
- yarn test
|
||||
|
||||
|
||||
|
|
Reference in a new issue