Closed andreybolonin closed 5 years ago
This is working for me: My .gitlab-ci.yml file:
image: php:7.2-fpm-alpine
cache:
paths:
- vendor/
before_script:
- apk add --no-cache chromium chromium-chromedriver zlib-dev
- export PANTHER_CHROME_DRIVER_BINARY="/usr/lib/chromium/chromedriver"
- export PANTHER_NO_SANDBOX=1
- export PANTHER_WEB_SERVER_PORT=9800
- docker-php-ext-install zip
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
test:
script:
- chromedriver --version
- ./bin/phpunit --colors=never
@Bersman thx
Any examples to run Panther on Gitlab CI ?
My .gitlab-ci.yml `image: ubuntu:bionic
services:
variables: POSTGRES_PASSWORD: root POSTGRES_USER: root POSTGRES_DB: vipaero
PANTHER_CHROME_DRIVER_BINARY: /usr/lib/chromium/chromedriver
PANTHER_NO_SANDBOX: 1
before_script:
- add-apt-repository ppa:ondrej/php -y
stages:
test: script: