forked from gimli-rs/gimli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (56 loc) · 1.19 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
sudo: false
language: rust
cache:
directories:
- /home/travis/.cargo
os:
- linux
- osx
osx_image: xcode7.1
rust:
- 1.36.0
- nightly
- beta
- stable
addons:
apt:
packages:
- libssl-dev
before_script:
- if [[ -e ~/.local/bin ]]; then export PATH=~/.local/bin:$PATH; fi
- echo PATH is $PATH
- export RUST_BACKTRACE=1
script: ./ci/script.sh
env:
matrix:
- GIMLI_JOB="test"
- GIMLI_JOB="features"
matrix:
fast_finish: true
include:
# Coverage should only run on Linux. tarpaulin currently requires nightly Rust.
- rust: nightly
os: linux
sudo: required
env: GIMLI_JOB="coverage"
# Building docs only needs to happen on one os and only on stable.
- rust: stable
os: linux
env: GIMLI_JOB="doc"
# Benching should only happen on nightly.
- rust: nightly
env: GIMLI_JOB="bench"
# Build a 32 bit target.
- rust: stable
sudo: required
services: docker
env:
- TARGET=i686-unknown-linux-gnu
- GIMLI_JOB=cross
# Build a big-endian target.
- rust: stable
sudo: required
services: docker
env:
- TARGET=powerpc64-unknown-linux-gnu
- GIMLI_JOB=cross