This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 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
dist: trusty
sudo: required
addons:
apt:
packages:
- qemu
- qemu-user-static
- binfmt-support
- parted
- wget
- dosfstools
- zip
- gcc-arm-linux-gnueabihf
- libc6-armhf-cross
- libc6-dev-armhf-cross
install:
- export PATH="$PATH:$HOME/.cargo/bin"
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable
- rustup target add arm-unknown-linux-gnueabihf
- nvm install 7.7.3
- nvm use 7.7.3
script:
- cargo build --release --target arm-unknown-linux-gnueabihf
- ( cd ui && npm install && npm run build )
- sudo ./create-image
- xz -vz rpizw-rover.img -c > rpizw-rover.img.xz
- zip rpizw-rover.img.zip rpizw-rover.img
deploy:
provider: releases
api_key:
secure: aQnsm94fRxLHhOqqXj/ht9y54qKOtiIsnrDeAeL+bCX1l5ak/JKx8VlhNbDiH+XXyG7V2zywzfy9qlGJsE8ZPXgO+Gupphq8PIucJY7S37Ck90sv5ZE4MSSRWajRMcQxJeWzAW8xUhyeIJQ1r+TLZq3h7Cib1zZmJs3ZxTVTJ/KIWlOwWROO7uwFWXPGMAREW0jlZRPm0JGPNn0e6QDxKfMowS1duoG5h62P2Rf5Yq2i5wlqEosSa4fnydS6fb5ffWQJAPJP7IdKu11weo1oLvAN7y3+KWO82bkZH5rzMqxD+xCWiB9J0TTwOxqyoJXOvjvgnI7HpC4+D+LfLFw+1oAcY6kgm6WC8+waVDCNumz9nTvdFEqmiW5X3HAqs/GXeRPnbtPZ/kVzpCZOLNxW3APDYy0Xm8Ir2EB1fookKaQtK9UD8KdL0bLzCWsxk+NeYKB+/1dWo+e4+KK2bbPhdphtf2+7DDnldbUqzmvXXA6CjPYCIRDm16NQyJOUgAsXVXBld6mWsyHF3maedW/tfTUubJXVBZ3QyP8O58Xd/AIkonh2996KEPtjfOFb2WIkseKrXSclUZ8g25MAs05uDRyfZtj3sRd3PyXCkuvnyO6fR3J0iOCG6NhvjfevZfEw9DI75uGSlPWp6en2z0EgVDCSkWv0VD0H8a5Eul3Dc6E=
file:
- rpizw-rover.img.xz
- rpizw-rover.img.zip
skip_cleanup: true
on:
repo: mdaffin/rpizw-rover
tags: true