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.
@ -26,7 +26,9 @@ env:
- ROS_RELEASE=kinetic DOCKER_CACHE_FILE=/home/travis/docker/kinetic-cache.tar.gz
- ROS_RELEASE=lunar DOCKER_CACHE_FILE=/home/travis/docker/lunar-cache.tar.gz
before_install:
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