aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 176339bb113715a2f18cb79cc04122c1179f3648 (plain)
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
image: alpine:3

stages:
  - test

test:
  before_script:
    - export PATH="$PATH:$HOME/.cargo/bin"
    - apk add npm make curl build-base firefox
    - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
    - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
  script:
    - make test

pages:
  before_script:
    - export PATH="$PATH:$HOME/.cargo/bin"
    - apk add npm make curl build-base
    - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y
    - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
  script:
    - make
  artifacts:
    paths:
      - public
  only:
    refs:
      - master