Continuous testing for D
Jul 16, 2014

I'm not sure if Travis CI can install packages, but with drone.io it's possible

Here is how I make it:

  • Add project
  • Choose C/C++ as language
  • Add build command which will install D compiler and run tests.

Command:

# prepare apt repository
sudo wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && sudo apt-get update
# install dmd and dub
sudo apt-get install dmd-bin dub
# build and run tests
dub test
comments powered by Disqus