forked from yewstack/yew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 815 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
37
38
39
40
41
branches:
only:
- staging
- trying
- master
dist: trusty
language: rust
sudo: false
addons:
firefox: latest
cache: cargo
before_cache:
- ./ci/clear_cache.sh
rust:
- 1.39.0 # min supported
- stable
- beta
matrix:
allow_failures:
- rust: beta
fast_finish: true
install:
- nvm install 9
- rustup component add rustfmt
- rustup component add clippy
- rustup install stable
- rustup target add wasm32-unknown-unknown
- cargo +stable install wasm-bindgen-cli
- 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
- ./ci/install_cargo_web.sh
script:
- ./ci/run_checks.sh
- GECKODRIVER=$(pwd)/geckodriver ./ci/run_tests.sh
- ./ci/check_examples.sh