From 18a5cc5c15a3acf1cf8d1bdec34f48d5a3087905 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 8 Jul 2021 08:41:40 +0000 Subject: [PATCH] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 000000000..39b65a9b2 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,18 @@ +image: node:14.15.0 + +pipelines: + default: + - step: + caches: + - node + script: + - apt-get update; apt-get install -y gettext-base; + - echo 'deb http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/chrome.list + - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - + - set -x && apt-get update && apt-get install -y xvfb google-chrome-stable + - wget -q -O /usr/bin/xvfb-chrome https://bitbucket.org/atlassian/docker-node-chrome-firefox/raw/ff180e2f16ea8639d4ca4a3abb0017ee23c2836c/scripts/xvfb-chrome + - ln -sf /usr/bin/xvfb-chrome /usr/bin/google-chrome + - chmod 755 /usr/bin/google-chrome + - npm install + - ./node_modules/@angular/cli/bin/ng -v + - npm run test \ No newline at end of file