aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: daef4b4ab079bb360735fc9565f5e39ad092dc3c (plain)
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
language: c
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"