I have a project I´m trying to use PhantomCSS for Visual Regression Testing (fancy buzzword for diffs on png)
I was able to get this up and running on codeship in about 10 minutes flat but for some reason can´t get it to work on Pipelines after +2 hours. I´d rather stick to the Atlassian stack if possible.
I imported the official PhantomCSS github repo into Bitbucket and setup the following .yml
image: node:5.11.0 pipelines: default: - step: script: # Modify the commands below to build your repository. - npm --version - npm install -g casperjs phantomjs-prebuilt resemblejs - casperjs test demo/testsuite.js --verbose --log-level=debug
Here are the errors:
Here I created a custom bitbucket-pipelines.yml file just to see if it could find resemblejs:
The frustrating this is I followed the instructions here: https://answers.atlassian.com/questions/39230190 and it worked perfectly first time (!!)
Here´s the proof from our production project running these commands inside the docker container:
Could you try the following YML and see how it goes?
image: node:5.11.0 pipelines: default: - step: script: # Modify the commands below to build your repository. - npm --version - npm install -g casperjs phantomjs - npm install - casperjs test demo/testsuite.js --verbose --log-level=debug
I've run some tests and I get the following results
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot