forked from japaric/steed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (56 loc) · 1.49 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
dist: trusty
language: rust
services: docker
sudo: required
rust: nightly
env: TARGET=x86_64-unknown-linux-steed
matrix:
include:
# Tier 1
# - env: TARGET=x86_64-unknown-linux-steed # this is the default job
- env: TARGET=aarch64-unknown-linux-steed
- env: TARGET=arm-unknown-linux-steedeabi
- env: TARGET=arm-unknown-linux-steedeabihf
- env: TARGET=armv7-unknown-linux-steedeabihf
- env: TARGET=i686-unknown-linux-steed
# Tier 2
- env: TARGET=mips-unknown-linux-steed
# - env: TARGET=mips64-unknown-linux-steedabi64
# - env: TARGET=mips64el-unknown-linux-steedabi64
- env: TARGET=mipsel-unknown-linux-steed
- env: TARGET=powerpc64-unknown-linux-steed
# - env: TARGET=powerpc64le-unknown-linux-steed
# - env: TARGET=s390x-unknown-linux-steed
# - env: TARGET=sparc64-unknown-linux-steed
allow_failures:
- env: TARGET=powerpc-unknown-linux-steed
install:
- set -e
- bash ci/install.sh
- source ~/.cargo/env
script:
- bash ci/script.sh
after_success:
- bash ci/after_success.sh
after_script: set +e
before_cache:
- docker history -q japaric/$TARGET:v0.1.10 |
grep -v \<missing\> |
xargs docker save |
gzip > $HOME/docker/$TARGET.tar.gz
cache:
directories:
- $HOME/.cargo
- $HOME/.xargo
- $HOME/docker
- $TRAVIS_BUILD_DIR/target
before_install:
- zcat $HOME/docker/$TARGET.tar.gz | docker load || true
branches:
only:
- auto
- master
- try
notifications:
email:
on_success: never