docker: move the test part in another Dockerfile
[nit.git] / misc / docker / tests / Dockerfile
1 # This is a full install of Nit on a debian base.
2 # Full because most dependencies are installed so that most tests can be run
3
4 FROM nitlang/nit:full
5 MAINTAINER Jean Privat <jean@pryen.org>
6
7 # Run tests
8 RUN cd /nit/tests \
9         # Basic tests
10         && ./testfull.sh || true \
11         && rm -rf out/ alt/*.nit \
12         # Nitunits
13         && ../bin/nitunit ../lib ../contrib || true \
14         && rm -rf .nitunit \
15         && ccache -C