Skip to content

Commit

Permalink
Install solana cli tools in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Oct 23, 2020
1 parent 94ae651 commit 4616c2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ notifications:
cache:
directories:
- "~/.cache"
- "~/.config/share/solana"
- "~/.local/share/solana"

services:
- docker

env:
global:
- RUST_BACKTRACE=1
- SOLANA_VERSION=v1.4.2

jobs:
include:
Expand Down
6 changes: 6 additions & 0 deletions .travis/install-program-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ clang-7 --version
nvm install node
npm install -g typescript
node --version

if [[ -n $SOLANA_VERSION ]]; then
sh -c "$(curl -sSfL https://release.solana.com/$SOLANA_VERSION/install)"
fi
PATH="~/.local/share/solana/install/active_release/bin:$PATH"
solana --version

0 comments on commit 4616c2e

Please sign in to comment.