aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 1c026c9329c9664d7a8db7adc01c6f4d486a4b93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
image: "registry.gitlab.com/byzantine-lab/go-tangerine/ci-testbed:latest"

before_script:
  - mkdir -p /go/src/github.com/byzantine-lab
  - ln -s /builds/byzantine-lab/go-tangerine /go/src/github.com/byzantine-lab
  - cd /go/src/github.com/byzantine-lab/go-tangerine

stages:
  - lint
  - test

lint:
  stage: lint
  tags:
    - golang
  script:
    - go run build/ci.go lint

test:
  stage: test
  tags:
    - golang
  script:
    - make libbls
    - go run build/ci.go install
    - go run build/ci.go test -coverage

smoke:
  stage: test
  tags:
    - golang
  script:
    - ./build/setup_recovery_env.sh
    - make gtan
    - ./test/run_test.sh --smoke-test
    - ./build/fullnode-test.sh
    - pkill -15 -f gtan
    - ./test/run_test.sh --continue --smoke-test
    - ./build/recovery-test.sh