sourcegraph / srclib

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
https://srclib.org
Other
942 stars 62 forks source link

Travis should run srclib tests inside docker container in addition to natively #74

Open beyang opened 9 years ago

beyang commented 9 years ago

Currently, srclib-java fails to run on Gradle repositories when run inside a Docker container because it tries to write to read-only directories. This is not an issue when running natively, because those directories aren't read only.

Travis currently only runs tests for the native command, so there's no indication that this fails unless a developer runs the tests locally.

sqs commented 9 years ago

Travis can't run docker until they upgrade to Ubuntu 14.04 I believe. People have tried but it's very hard iirc.

Sent from my iPhone

On Nov 20, 2014, at 18:14, Beyang Liu notifications@github.com wrote:

Currently, srclib-java fails to run on Gradle repositories when run inside a Docker container because it tries to write to read-only directories. This is not an issue when running natively, because those directories aren't read only.

Travis currently only runs tests for the native command, so there's no indication that this fails unless a developer runs the tests locally.

— Reply to this email directly or view it on GitHub.