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
    - java -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
  

