diff options
author | Victor Häggqvist <[email protected]> | 2014-06-12 00:18:33 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-06-12 00:18:33 +0200 |
commit | 4edc9e643ca995b0e428e2c224d47c406dd7c85c (patch) | |
tree | d6cb90d022c1a2470e4d60e211ff73332a172c12 /before_install.sh | |
parent | 34ef39b1b56524e67a6f1ade0340b4744989729e (diff) |
travis conf
Diffstat (limited to 'before_install.sh')
-rw-r--r-- | before_install.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/before_install.sh b/before_install.sh new file mode 100644 index 0000000..3a1a6f4 --- /dev/null +++ b/before_install.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +echo 'Installing Pebble SDK Dependencies...' + +cd ~ + +# Get the Pebble SDK and toolchain +wget https://developer.getpebble.com/2/download/${PEBBLE_SDK}.tar.gz -O PebbleSDK.tar.gz +wget http://assets.getpebble.com.s3-website-us-east-1.amazonaws.com/sdk/arm-cs-tools-ubuntu-universal.tar.gz + +# Build the Pebble directory +mkdir ~/pebble-dev + +cd ~/pebble-dev + +# Extract the SDK +tar -zxf ~/PebbleSDK.tar.gz +cd ~/pebble-dev/${PEBBLE_SDK} + +# Extract the toolchain +tar -zxf ~/arm-cs-tools-ubuntu-universal.tar.gz + +export PATH=~/pebble-dev/PebbleSDK-${PEBBLE_SDK}/bin:$PATH + + + + + + + + |