Skip to content
Snippets Groups Projects
Commit d733bed6 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

Add .gitlab-ci.yml

parent ad0c50d0
No related branches found
No related tags found
No related merge requests found
Pipeline #12 failed
image: maven:3-jdk-8
stages:
build
test
build-jdk11:
image: maven:3-jdk-11
stage: build
script: "mvn clean package"
build-jdk8:
stage: build
script: "mvn clean package"
artifacts:
paths:
- target/
expire_in: 20 minutes
test-assignment:
stage: test
dependencies:
- build-jdk8
script: "java -cp "chocopy-ref.jar:target/assignment.jar" chocopy.ChocoPy --pass=.s --dir src/test/data/pa2/sample --test"
test-positive-whole:
stage: test
dependencies:
- build-jdk8
script:
- java -cp "chocopy-ref.jar:target/assignment.jar" chocopy.ChocoPy --pass=rs --out /tmp/out.o src/test/data/pa2/sample/ast_coverage.py
- diff /tmp/out.o src/test/data/pa2/sample/ast_coverage.py.ast.typed || echo 'Ignoring failed test...'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment