tld-a-record/.travis.yml

32 lines
908 B
YAML
Raw Normal View History

2019-07-01 20:36:08 +00:00
language: ruby
env:
global:
- GIT_REMOTE: git@github.com:captn3m0/tld-a-record.git
addons:
apt:
packages:
# required to avoid SSL errors
- libcurl4-openssl-dev
- dnsutils
2019-07-03 05:49:46 +00:00
- idn
2019-07-01 20:36:08 +00:00
rvm:
- 2.4.1
before_install:
- openssl aes-256-cbc -K $encrypted_9e883639804e_key -iv $encrypted_9e883639804e_iv -in deploy-key.enc -out deploy-key -d
- chmod 600 deploy-key
- eval `ssh-agent -s`
- ssh-add deploy-key
- git config user.name "TLD List Bot"
- git config user.email "tld-bot@captnemo.in"
2019-07-01 20:49:52 +00:00
script:
- wget "https://data.iana.org/TLD/tlds-alpha-by-domain.txt" --output-document tlds.txt
- ./scan.sh
- curl 'https://ipapi.co/yaml/' > website/_data/ip.json
- echo "This scan was last run on $(date)" >> template.md
- cp tlds.txt template.md website/
- ./ci.sh
2019-07-01 20:36:08 +00:00
# branch whitelist, only for GitHub Pages
branches:
except:
# gh-pages is automatically committed
- gh-pages