tld-a-record/.travis.yml

33 lines
821 B
YAML
Raw Normal View History

2019-09-14 12:31:49 +00:00
language: ruby
env:
global:
2022-01-11 15:15:51 +00:00
- GIT_REMOTE: git@github.com:captn3m0/tld-a-record.git
2019-09-14 12:31:49 +00:00
addons:
apt:
packages:
2022-01-11 15:15:51 +00:00
# required to avoid SSL errors
- libcurl4-openssl-dev
- dnsutils
- idn
- python3-dnspython
2019-09-14 12:31:49 +00:00
rvm:
2022-01-11 15:15:51 +00:00
- 3.0
2019-09-14 12:31:49 +00:00
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"
# Update bundler: https://docs.travis-ci.com/user/languages/ruby/
- gem update --system
- gem install bundler
script:
- ./scan.sh
- ./ci.sh
# branch whitelist, only for GitHub Pages
branches:
except:
2022-01-11 15:15:51 +00:00
# gh-pages is automatically committed
- gh-pages