File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,7 @@ gem install travis --no-rdoc --no-ri
125125Add the encrypted secrets files to the repository and Travis CI:
126126
127127``` sh
128- tar cvf secrets.tar ci_secrets/
129- travis encrypt-file secrets.tar --add --force
130- git add secrets.tar.enc .travis.yml
131- git commit -m ' Update secret archive'
132- git push
128+ make update-secrets
133129```
134130
135131Note that the [ Travis CI documentation] ( https://docs.travis-ci.com/user/encrypting-files/#Caveat ) warns that this might not work on Windows.
Original file line number Diff line number Diff line change 1515 vulture . --min-confidence 100
1616 yapf --diff --recursive src/ tests/ ci/
1717
18+ .PHONY : fix-lint
1819fix-lint :
1920 autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables .
2021 yapf --in-place --recursive .
2122 isort --recursive --apply
23+
24+ .PHONY : update-secrets
25+ update-secrets :
26+ tar cvf secrets.tar ci_secrets/
27+ travis encrypt-file secrets.tar --add --force
28+ git add secrets.tar.enc .travis.yml
29+ git commit -m ' Update secret archive [skip ci]'
30+ git push
You can’t perform that action at this time.
0 commit comments