Merge pull request #166 from enaqx/travis-updates

update travis steps to handle dfn subca
This commit is contained in:
Samar Dhwoj Acharya 2017-07-15 18:35:52 -05:00 committed by GitHub
commit d33ead1193

View File

@ -3,5 +3,9 @@ rvm:
- 2.2 - 2.2
before_script: before_script:
- gem install awesome_bot - 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: 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"