update travis steps to handle dfn subca

This commit is contained in:
techgaun 2017-07-15 18:26:16 -05:00
parent 0f33e6394d
commit e7824ca693
No known key found for this signature in database
GPG Key ID: 57FB3143221F7B30

View File

@ -3,5 +3,9 @@ rvm:
- 2.2
before_script:
- gem install awesome_bot
- wget 'https://mkcert.org/generate/' -O bundle.pem
- wget 'http://cdp.pca.dfn.de/global-root-ca/pub/cacert/cacert.pem' -O dfn.pem
- wget 'http://cdp.pca.dfn.de/uni-potsdam-ca/pub/cacert/cacert.pem' -O potsdam.pem
- cat bundle.pem dfn.pem potsdam.pem > /tmp/bundle.pem
script:
- awesome_bot README.md --allow-redirect --white-list "www.0day.today,mvfjfugdwgc5uwho.onion"
- SSL_CERT_FILE="/tmp/bundle.pem" awesome_bot README.md --allow-redirect --white-list "www.0day.today,mvfjfugdwgc5uwho.onion"