www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Bitbucket Pipelines

Hi,

Thought some of us might be interested in this, it is now really 
simple to set up testing within bitbucket, by using "Bitbucket 
Pipelines", docker based testing with what seems to be standard 
bash script in the YAML file.

The below config is for a dub package.

bitbucket-pipelines.yml
=================

# This is a sample build configuration for D.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw 
for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your 
build environment.
image: base/archlinux
pipelines:
   default:
     - step:
         script: # Modify the commands below to build your 
repository.
           - pacman -Sy --noconfirm dub dmd
           - dub build
           #- dub test

=================

Regards,
Rory McGuire
Apr 17