forked from solana-labs/ledger-app-solana
-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
29 lines (26 loc) · 1.41 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
language: c
dist: bionic
before_install:
- sudo apt update
- sudo apt install -y gcc-multilib libudev-dev libusb-1.0-0-dev pkg-config python3-venv python3-pip python3-pil
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup-init.sh
- sh /tmp/rustup-init.sh -y --default-toolchain 1.45.2 --component clippy --component rustfmt
- source ./prepare-devenv.sh s
script:
- source ./prepare-devenv.sh s
- make -C libsol
- make
- make -f host.mk release
- export PATH="${HOME}/.cargo/bin:${PATH}"
- cd ./tests
- cargo clippy --all -- --deny=warnings
- cargo fmt --all -- --check
deploy:
- provider: releases
skip_cleanup: true
file:
- install.sh
api_key:
secure: PL336gAG73GcuxkvZDvRaBtKYyv4Oc7aOj8PlMkh4YrOcnjkTWhBsVZqx9u4vvFX8CIBWc4a9mVY3vHRk2w9ygUF9eo/Gwked7MN444SGLx1vcK+ojkiKv5FON2UQk3D9AnTQ6eLUYLQgGIOr0hN+UXVW36iZ8CGN84Ei2wzeyqRv24DeZel5spvY7Nt8X8KAhGGoenQlKAYxXc8UgTyOLlmVAwLEgMZYsuc8ju8q+JuwxJYFrZidWmXts6StfJ3nuB8j4OQnTvHWUs6gtFMk0phazmYWUOjeHyzORIOcyXT2KNSCux9F4sV0j0n+53lgeLID/SmLRtIwo8O6WSmmDeOwiqRFV0/DT1KdG4z2X/7y9VTIfmwQwy3xQjLnSczvlR3jXoNbDfd+R13srBFY13FXT+dAiGpp82nTWqwytkBeVjz/9pSWxiAFDF8B8cHCNIlRH+zTKr9VhUZNPSx9tPK3lftT+mUTJNt5a5Ksb5jy+/SX5HirtUgXTy3Ui8MrqpNiytz5wnb3mapIMsfy1ZBfjbYWXjrPZ5zVfuSVAWkPXRm3YSi4h5TZ8kaeag7LTl85D5im74vsQ442dnTGS71nOzkAcr8MXBO2nFOQw1jzBsXVrJFlLvHNwyN11VsBw210H9G4qibmVQPB5YZ2hleMN48/Bkj4MzHpTxFm94=
on:
tags: true