M332-PT-NGCC/.gitlab-ci.yml
2019-10-04 11:39:58 +02:00

20 lines
679 B
YAML

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
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/jar/* # compile and add external jar to classpath
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/src/*/*.java
- ls bin
- javac -cp LIB/junit-platform-console-standalone-1.5.1.jar:bin:. -d bin NGCC/tests/*/*.java
script:
- java -jar LIB/junit-platform-console-standalone-1.5.1.jar --class-path bin --scan-class-path
#allow_failure: true