forked from japaric/rust-cross
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (58 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
language: generic
matrix:
include:
# Note: apt packages are the C cross compiler and the cross compiled C library
- env: TARGET=aarch64-unknown-linux-gnu
dist: trusty
sudo: required
- env: TARGET=arm-unknown-linux-gnueabi
addons:
apt:
packages:
- gcc-arm-linux-gnueabi
- libc6-armel-cross
- libc6-dev-armel-cross
- env: TARGET=arm-unknown-linux-gnueabihf
addons:
apt:
packages: &armhf
- gcc-arm-linux-gnueabihf
- libc6-armhf-cross
- libc6-dev-armhf-cross
- env: TARGET=armv7-unknown-linux-gnueabihf
addons:
apt:
packages: *armhf
- env: TARGET=i686-unknown-linux-musl
addons:
apt:
packages: &i686
- gcc-multilib
- env: TARGET=i686-unknown-linux-gnu
addons:
apt:
packages: *i686
- env: TARGET=mipsel-unknown-linux-musl
- env: TARGET=x86_64-unknown-linux-musl
- env: TARGET=x86_64-pc-windows-gnu
dist: trusty
sudo: required
addons:
apt:
packages:
- gcc-mingw-w64
install:
- export PATH="$PATH:$HOME/.cargo/bin"
- export STAGING_DIR="$HOME/openwrt"
- bash ci/install.sh
- export PATH="$PATH:$(find $STAGING_DIR -maxdepth 1 -name 'toolchain*' -print -quit)/bin"
script:
- bash ci/script.sh
branches:
only:
- auto
- master
notifications:
email:
on_success: false
webhooks: http://homu.herokuapp.com/travis