aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-12 01:19:32 +0200
committerVictor Häggqvist <[email protected]>2014-06-12 01:19:32 +0200
commit7472f04be5eddb94c4eba4abc688eb875f44069a (patch)
tree9878bfc8935313f3b6aef231cbecc763f645b560
parent1092bc413be24b54100b4ec5dd4a8bbfaf1980d6 (diff)
getting there
-rw-r--r--.travis.yml3
-rw-r--r--build.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8c83cac..292b219 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,6 @@
language: c
before_install:
+ - PROJECT_PATH=~/victorhaggqvist/pebble-battery-monitor
- PEBBLE_SDK=PebbleSDK-2.2
- echo 'Installing Pebble SDK Dependencies...'
- echo 'SDK ${PEBBLE_SDK}'
@@ -21,5 +22,5 @@ before_install:
- tar -zxf ~/arm-cs-tools-ubuntu-universal.tar.gz
- export PATH=~/pebble-dev/PebbleSDK-${PEBBLE_SDK}/bin:$PATH
-script: "./build.sh"
+script: '${PROJECT_PATH}/build.sh'
diff --git a/build.sh b/build.sh
index 4b19533..ee3e0b6 100644
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,5 @@
echo "Building Pebble project..."
-cd ~/victorhaggqvist/pebble-battery-monitor
+cd ${PROJECT_PATH}
pebble build