Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add examples to Travis #552
See #548 .
The job is done by 2 bash lines in the .travis.yml to add them, as we should rely on "dub test" doing the biggest part of the job. This may not be the best way to do it, but it's better than what we used to have. Any advice / direction is welcome.
There are some examples that are build but not run:
While the "tests/" folder concept is not really finished, those do not really fit together with the "examples/" concept. The tests are intended to be run by the CI (and thus are expected to terminate with the proper error code), while the examples can run indefinitely or require user input and are not suited for execution by the CI server. It would be good to integrate the "tests" with
Regarding the "echoserver" example, port 7 is the standard port for the echo protocol, so I'd rather automatically emit a warning that it must be run as root when it fails... hm, or maybe just fall back to an unprivileged port if 7 fails... can be sorted out later.
The "daytime" example works for me.
There are some overlapping changes with #551, but I'll pull this one first to have the CI integration of the examples in place. Thanks a lot for these additions/cleanups!