From ebdbc489922345ae4fb658682f41cfd8d25785f4 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Thu, 12 Jun 2014 00:52:48 +0200 Subject: find fail --- .travis.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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" -- cgit v1.2.3