-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
.gitlab-ci.yml
30 lines (28 loc) · 929 Bytes
/
.gitlab-ci.yml
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
stages:
- build
rust-nightly:
stage: build
image: rustlang/rust:nightly
before_script:
- apt update
- apt install -y firefox-esr
- curl --retry 5 -LO https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
- tar xf geckodriver-v0.24.0-linux64.tar.gz
- cargo install wasm-pack
script:
- cargo build --all
- cargo test --all --all-features
- GECKODRIVER=$(pwd)/geckodriver ./test.sh
rust-stable:
stage: build
image: rust:latest
before_script:
- apt update
- apt install -y firefox-esr
- curl --retry 5 -LO https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
- tar xf geckodriver-v0.24.0-linux64.tar.gz
- cargo install wasm-pack
script:
- cargo build --all
- cargo test --all --all-features
- GECKODRIVER=$(pwd)/geckodriver ./test.sh