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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: rust
sudo: false
git:
quiet: true
rust:
- 1.34.0
- stable
- beta
- nightly
os:
- osx
- linux
# Technically works, but super slow, so we use AppVeyor
#- windows
branches:
only:
- staging
- trying
- master
- dev
matrix:
fast_finish: true
allow_failures:
- rust: nightly
include:
# If we wanted to flag on --release mode we'd add a line like this
#- { os: linux, rust: 1.38.0, env: FLAGS=--release }
-
#- { os: linux, rust: 1.34.0, env: TARGET=wasm32-wasi }
-
-
-
-
-
-
-
-
-
-
-
-
script:
- pushd scripts
- ./travis.sh
- popd
# Configured so we cache cargo-web for WASM unit testing, otherwise it takes
# forever (13+ minutes) to compile. See also
# https://levans.fr/rust_travis_cache.html
cache:
directories:
- $TRAVIS_HOME/.cargo/
- $TRAVIS_HOME/.rustup/
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"