Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit d08982b

Browse files
committed
try other way, add key to gitignore too
1 parent 79c3c8c commit d08982b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
*.pyo
44
*~
55
output/
6+
deploy_libgd_key

.travis.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
language: python
2+
3+
env:
4+
global:
5+
- ENCRYPTION_LABEL: "a27c77282a93"
6+
27
compiler:
38
- python
9+
410
before_install:
5-
- openssl aes-256-cbc -K $encrypted_8c393341f536_key -iv $encrypted_8c393341f536_iv -in deploy_libgd_key.enc -out deploy_libgd_key -d
11+
- ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
12+
- ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
13+
- ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
14+
- ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
15+
- openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in deploy_key.enc -out deploy_key -d
616
- chmod 600 deploy_libgd_key
717
- eval `ssh-agent -s`
818
- ssh-add deploy_libgd_key
919
- sudo apt-get update -yqq
1020
- sudo apt-get install python-pip
1121
- sudo pip install ghp-import pelican cpp-coveralls
22+
1223
script:
1324
- make publish
1425
- git remote remove origin

0 commit comments

Comments
 (0)