Skip to content

Commit

Permalink
Set up taking a GitHub access token for #606
Browse files Browse the repository at this point in the history
  • Loading branch information
edunham committed Mar 23, 2017
1 parent 09aa211 commit ce1868e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -76,7 +76,11 @@ matrix:
language: python
python: 3.5

script: .travis/dispatch.sh
before_script:
- echo $GHTOKENLINE >> .travis/test_pillars/homu.sls

script:
- .travis/dispatch.sh

notifications:
webhooks: http://build.servo.org:54856/travis
Expand Down
1 change: 0 additions & 1 deletion .travis/test_pillars/homu.sls
@@ -1,5 +1,4 @@
homu:
'gh-access-token': 'TEST_HOMU_GH_ACCESS_TOKEN'
'gh-webhook-secret': 'TEST_HOMU_GH_WEBHOOK_SECRET'
'app-client-id': 'TEST_HOMU_APP_CLIENT_ID'
'app-client-secret': 'TEST_HOMU_APP_CLIENT_SECRET'
Expand Down
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -18,6 +18,18 @@ your own instance and run into trouble, file [an issue](https://github.com/servo

TravisCI is set up to test all configurations.

Environment variables:

With a valid GitHub access token instead of the following placeholder value,
set the `GHTOKENLINE` env var to:

```
'gh-access-token' : 'abc123def456'
```

The whole thing goes in the var because it's needlessly confusing to try to
sneak the punctuation through both bash and Travis's yaml parser.

## License

This repository is distributed under the terms of both the MIT license
Expand Down

0 comments on commit ce1868e

Please sign in to comment.