# pBuild for Travis-CI
PebbleBuild is a tool for building pebble projects in Travis CI.
It is really useful when using the Pebble SDK.

## Setup
1. To install pBuild, copy .travis.yml, before_install.sh, and build.sh to your pebble app's github repository.  Make sure the two .sh files are marked executable, using `git update-index --chmod=+x` if necessary.
2. Then go to travis, go into your repoditory (in Travis) and go to Settings -> Settings and into Enviromental Variables. 
3. Add new enviromental variables: `PEBBLE_SDK=PebbleSDK-3.0-beta11` (this is the pebble sdk version to use for compilation) and check "Display value in build logs", and `PEBBLE_PROJECT_PATH=[RepoOwnerUsername]/[RepoName]/[PebbleProjectPathinRepo]` (Only add the PebbleProjectPathinRepo if needed). Example: `PEBBLE_PROJECT_PATH=sGerli/pBuild` (this one is case sensitive) and check "Display value in build logs"

## Troubleshooting
1. If a resource is not found, check its path because it's case sensitive.
2. If you get any other build script error add an issue.
3. If you get a error that might not be general, it's personal, send a email to support@igerli.com.

## Credits
pBuild is based on [Sawyer Pangborn's travis-ci-pebble](https://github.com/spangborn/travis-ci-pebble)

# pBuild for Travis-CI
PebbleBuild is a tool for building pebble projects in Travis CI.
It is really useful when using the Pebble SDK.

## Setup
1. To install pBuild, copy .travis.yml, before_install.sh, and build.sh to your pebble app's github repository.  Make sure the two .sh files are marked executable, using `git update-index --chmod=+x` if necessary.
2. Then go to travis, go into your repoditory (in Travis) and go to Settings -> Settings and into Enviromental Variables. 
3. Add new enviromental variables: `PEBBLE_SDK=PebbleSDK-3.0-beta12` (this is the pebble sdk version to use for compilation) and check "Display value in build logs", and `PEBBLE_PROJECT_PATH=[RepoOwnerUsername]/[RepoName]/[PebbleProjectPathinRepo]` (Only add the PebbleProjectPathinRepo if needed). Example: `PEBBLE_PROJECT_PATH=sGerli/pBuild` (this one is case sensitive) and check "Display value in build logs"

## Troubleshooting
1. If a resource is not found, check its path because it's case sensitive.
2. If you get any other build script error add an issue.
3. If you get a error that might not be general, it's personal, send a email to support@igerli.com.

## Credits
pBuild is based on [Sawyer Pangborn's travis-ci-pebble](https://github.com/spangborn/travis-ci-pebble)

Update to lastest Pebble SDK version
Update to lastest Pebble SDK version