Continuous testing for D
Jul 16, 2014

I'm not sure if Travis CI can install packages, but with 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.


# prepare apt repository
sudo wget -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