Update .travis.yml (#817)

Describe the GITHUB_TOKEN trick to fork owners.
master
Michael Grupp 2018-04-11 15:58:47 +02:00 committed by Wally B. Feed
parent 9eeb3c9477
commit 2b8a8b5d35
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# Copyright 2016 The Cartographer Authors
# Copyright 2018 The Cartographer Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -27,6 +27,8 @@ env:
- ROS_RELEASE=lunar DOCKER_CACHE_FILE=/home/travis/docker/lunar-cache.tar.gz
before_install:
# $GITHUB_TOKEN must be a valid GitHub access token without access rights (https://github.com/settings/tokens).
# Either add your token to the 'env' section above or add it as an unencrypted variable in the Travis settings.
- scripts/check_access_token.sh $GITHUB_TOKEN
- scripts/load_docker_cache.sh