2019-09-27 11:59:39 +02:00
|
|
|
image: openjdk:11
|
|
|
|
|
|
|
|
variables:
|
|
|
|
GIT_SSL_NO_VERIFY: "1"
|
|
|
|
|
|
|
|
compileAndTests :
|
|
|
|
# References to libraries should be managed by any other ways (maven, npm, pip, ...)
|
|
|
|
before_script:
|
|
|
|
- ls -la
|
|
|
|
- mkdir bin
|
2019-10-04 11:39:58 +02:00
|
|
|
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/jar/* # compile and add external jar to classpath
|
2019-10-04 10:59:13 +02:00
|
|
|
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/src/*/*.java
|
2019-09-27 11:59:39 +02:00
|
|
|
- ls bin
|
2019-10-04 10:59:13 +02:00
|
|
|
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/tests/*/*.java
|
2019-09-27 11:59:39 +02:00
|
|
|
script:
|
|
|
|
- java -jar LIB/junit-platform-console-standalone-1.5.1.jar --class-path bin --scan-class-path
|
|
|
|
#allow_failure: true
|
|
|
|
|
|
|
|
|