forked from lukidoescode/css-in-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 985 Bytes
/
.travis.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
31
32
33
34
35
36
language: rust
os: linux
dist: bionic
#addons:
# firefox: latest
cache: cargo
before_cache:
- ./ci/clear_cache.sh
rust:
- 1.42.0 # min supported (because of yew)
- stable
- beta
jobs:
allow_failures:
- rust: beta
fast_finish: true
install:
- rustup component add rustfmt
- rustup component add clippy
- rustup target add wasm32-unknown-unknown
- cargo install cargo-update || true
- cargo install-update-config --version =0.2.59 wasm-bindgen-cli
- cargo install-update --allow-no-update wasm-bindgen-cli
- '[ -f /home/travis/.cargo/bin/wasm-pack ] && echo "wasm-pack already installed" || curl --retry 5 https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh'
# - curl --retry 5 -LO https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
# - tar -xzf geckodriver-v0.26.0-linux64.tar.gz
script:
- ./ci/run_checks.sh
- ./ci/run_tests.sh
# - ./ci/run_build_docs.sh
- ./ci/run_build.sh