Skip to content

Commit

Permalink
Trigger build for kernel 4.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterReuter committed Feb 8, 2017
1 parent b499608 commit c7b7eca
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


## Prerequisites
In order to build the LK 4.9 for the Raspberry Pi 3 board you only need a few tools on your Mac:
In order to build the LK 4.9.8 for the Raspberry Pi 3 board you only need a few tools on your Mac:

1. git
2. [Docker for Mac](https://docs.docker.com/docker-for-mac/)
Expand Down
22 changes: 22 additions & 0 deletions trigger-travis-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
set -e
set -x

# see: https://docs.travis-ci.com/user/triggering-builds

# prepare data for triggering Travis-CI
TOKEN=xxx
REPO='DieterReuter%2Frpi64-kernel'
BODY='{
"request": {
"branch":"master",
"message": "Build triggered by Dieter via API"
}}'

curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token $TOKEN" \
-d "$BODY" \
https://api.travis-ci.com/repo/$REPO/requests

0 comments on commit c7b7eca

Please sign in to comment.