.gitlab-ci.yml 392 Bytes
Newer Older
1
2
variables:
    GREET: "Mundo"
Nane Kratzke's avatar
Nane Kratzke committed
3

4
5
stages:
    - test
Schwieger, Jana's avatar
Schwieger, Jana committed
6

7
8
java:
    stage: test
Schwieger, Jana's avatar
Schwieger, Jana committed
9
    script:
10
11
12
13
        - javac src/*.java
        - java -cp src/ Hello $GREET > result.txt
        - cat result.txt
        - cat result.txt | grep "Hello $GREET"
Schwieger, Jana's avatar
Schwieger, Jana committed
14

15
16
python:
    stage: test
Schwieger, Jana's avatar
Schwieger, Jana committed
17
    script:
18
19
20
        - python src/hello.py $GREET > result.txt
        - cat result.txt
        - cat result.txt | grep "Hello $GREET"