-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 1.91 KB
/
.travis.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# source https://github.com/victorhaggqvist/Pebble-TravisCI-Config
language: python
# 2.7 is the only version officially supported
python:
- '2.7'
script:
- pebble-dev/bin/pebble build
before_install:
- npm install -g jshint
- npm install -g uglify-js
- wget -O PebbleSDK.tar.bz2 https://developer.rebble.io/s3.amazonaws.com/assets.getpebble.com/pebble-tool/pebble-sdk-$PEBBLE_TOOL-linux64.tar.bz2
- mkdir pebble-dev
- tar xjf PebbleSDK.tar.bz2
- mv pebble-sdk*/* pebble-dev
install:
- pip install --upgrade pip
- cd pebble-dev
- virtualenv --no-site-packages .env
- source .env/bin/activate
- pip install --install-option="--no-cython-compile" cython
- sed -i 's/https:\/\/s3-us-west-2.amazonaws.com\/pebble-sdk-homebrew\/pypkjs-1.0.6.tar.gz/https:\/\/github.com\/ltpitt\/vagrant-pebble-sdk\/blob\/master\/pypkjs-1.0.6.tar.gz?raw=true/g' requirements.txt
- pip install -r requirements.txt
- mkdir ~/.pebble-sdk
- touch ~/.pebble-sdk/NO_TRACKING
- echo y | bin/pebble sdk install https://github.com/aveao/PebbleArchive/raw/master/SDKCores/sdk-core-$PEBBLE_SDK.tar.bz2
- cd ..
env:
global:
- PEBBLE_SDK=3.13.1
- PEBBLE_TOOL=4.5
deploy:
provider: releases
api_key:
secure: fl7bdofQzstE3D08Kk2APHiorSzOsUjuMGOIMDrxmD/0xwfts29TDYbtgwfR/hpZ0b5Knkp/0pJE0O3fplPdYnoXbQSVS721EIGKv4qq+u90euRQEt3tXxHAfVC0TMzqR+4gLXi15g4jxvdNezXr9XpBGR8v4ZoCABZ/ZE0VbCrGMLADGjLkWWQiRn7+sstOWd5eFWluDkhr+aF99CbnyocUZ11tgJ5sGUH3Ig8u4WopIftSsGR3t2qH+5O6IKGqzjgzPcaKQmchPS8wGS9XFHbfA8PZRuKr8/WJ7TH0demS0Jcbd/SR9/s+6QjAYIUZyQgIn38XlY9Eu19qe09QKJIHNlSzKQ9sk/YEXMY6HdcOlKELExdWrylT010p0+5E5xbBQ6lh4c6lOw1sM9HUatufmA5jgol1tq3MxmVRavYXPcavZkqH6MGJWBPefRGnQHzItUsb2ZiNZ2OqmgJh/vYPjLy7xJeYur4z7f2nk3Rv/PqX3sBKzvom7KzbTQ5TsytYS87KNOC4WQUyL2yS+dORqX2Ymm6VkcxYI2137ieN/Brqn29iMsNZgD/zTRhji6l1gpyhBgRNIb7Vy5+Pn1XPx6/zblPBPVNT2KRpHQfH0SvUxO7uut2+fPml79wDSEZOY8MKyDOI6psoidxtiNuDbPUPb6sHD92G2Twj224=
file: build/LuxParking.pbw
on:
repo: ogerardin/LuxParking
tags: true