forked from yewstack/yew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (36 loc) · 808 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
42
43
branches:
only:
- staging
- trying
- master
language: rust
dist: trusty
sudo: false
addons:
chrome: stable
cache:
timeout: 1000
directories:
- $HOME/.cargo
- $HOME/.rustup
- $HOME/.local/share/cargo-web/emscripten
rust:
- 1.35.0 # min supported
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
install:
- nvm install 9
- rustup component add rustfmt
- rustup target add wasm32-unknown-unknown
- cargo install --force --version 0.2.42 -- wasm-bindgen-cli
- curl --retry 5 -LO https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- ./ci/install_cargo_web.sh
script:
- cargo fmt --all -- --check
- CHROMEDRIVER=$(pwd)/chromedriver ./ci/run_tests.sh