Commit 885c60f
committed
travisify.sh: decrypt only when applicable
The "travis encrypt-file" directive adds the openssl decryption command
to before_install, but does not guard it. So if the key and iv variables
are unavailable, the decryption -- and hence the build -- will fail.
We need to guard against this situation.1 parent c12abb6 commit 885c60f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
| |||
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
198 | | - | |
| 201 | + | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
| |||
0 commit comments