Continuous testing for D
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
Written by Pavel
Related protips
1 Response
Here is example for travis-ci https://github.com/yamadapc/pyjamas/blob/master/.travis.yml
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#D
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#