aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-12 00:52:48 +0200
committerVictor Häggqvist <[email protected]>2014-06-12 00:52:48 +0200
commitebdbc489922345ae4fb658682f41cfd8d25785f4 (patch)
tree2cd5ecd7f69310819d9a07646eacaf0e18e052a9 /.travis.yml
parent8402538c94659208190ba4338b1d8457e15467fa (diff)
find fail
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 22 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index fe115b3..daef4b4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,25 @@
language: c
-before_install: "./before_install.sh"
+before_install:
+ - PEBBLE_SDK=PebbleSDK-2.2
+ - echo 'Installing Pebble SDK Dependencies...'
+ - echo 'SDK ${PEBBLE_SDK}'
+ - 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
+
script: "./build.sh"