Fix Travis build

See travis-ci/travis-ci#8248
This commit is contained in:
Daniel Rudolf 2018-07-01 15:22:40 +02:00
parent f994ef191c
commit 6d6a39b744
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,10 @@ echo "Installing build dependencies..."
case "$1" in
"--deploy")
echo "Synchronizing package index files..."
sudo apt-get update
echo "Installing packages..."
sudo apt-get install -y cloc
;;
esac

View file

@ -39,6 +39,8 @@ jobs:
api_key: ${GITHUB_OAUTH_TOKEN}
file: pico-release-$TRAVIS_TAG.tar.gz
skip_cleanup: true
tag_name: $TRAVIS_TAG
target_commitish: $TRAVIS_COMMIT
name: Version $TRAVIS_TAG
draft: true
on: