-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (52 loc) · 1.5 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
language: rust
# Need to cache the whole `.cargo` directory to keep .crates.toml for
# cargo-update to work
#
cache:
directories:
- /home/travis/.cargo
# But don't cache the cargo registry
# and remove wasm-pack binary to avoid the installer asking confirmation for overwriting it.
#
before_cache:
- rm -rf /home/travis/.cargo/git
- rm -rf /home/travis/.cargo/registry
- rm -rf /home/travis/.cargo/bin/cargo-tarpaulin
- rm -rf target/debug/incremental/{torset,build_script_build}-*
- rm -rf target/debug/.fingerprint/torset-*
- rm -rf target/debug/build/torset-*
- rm -rf target/debug/deps/libtorset-*
- rm -rf target/debug/deps/torset-*
- rm -rf target/debug/{torset,libtorset}.d
- cargo clean -p torset
branches:
only:
- master
- dev
jobs:
include:
- name : linux stable check
os : linux
rust : stable
script: cargo check
- name : linux nightly test everything
os : linux
dist : bionic
rust : nightly
addons:
firefox: latest
apt:
packages:
- libssl-dev # for cargo-tarpaulin
- libgtk-3-dev # needed for headless (sic) firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1372998
- libdbus-glib-1-dev # firefox
script:
- bash ci/test.bash
- bash ci/deny.bash
- bash ci/coverage.bash
- os : osx
script:
- bash ci/test.bash
- os : windows
script:
- bash ci/test.bash