Fakultas Ilmu Komputer UI

.gitlab-ci.yml 313 Bytes
Newer Older
Rahmadani Dara's avatar
Rahmadani Dara committed
1
stages:
Rahmadani Dara's avatar
Rahmadani Dara committed
2
3
4
    - build
    - test
    
Rahmadani Dara's avatar
Rahmadani Dara committed
5
build:
Rahmadani Dara's avatar
Rahmadani Dara committed
6
7
8
9
10
    stage: build
    script:
        - echo "Building"
        - mkdir build
        - touch build/info.txt
Rahmadani Dara's avatar
Rahmadani Dara committed
11
12
13
14
    artifacts:
        paths:
            - build/
        
Rahmadani Dara's avatar
Rahmadani Dara committed
15
        
Rahmadani Dara's avatar
Rahmadani Dara committed
16
test:
Rahmadani Dara's avatar
Rahmadani Dara committed
17
18
19
20
    stage: test
    script:
        - echo "Testing"
        - test -f "build/info.txt"